@enervance/insight-cim-model 0.0.57 → 0.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/config/westnetz-neplan/neplan-load.config.js +0 -1
  2. package/dist/config/westnetz-neplan/neplan-load.config.js.map +1 -1
  3. package/dist/constants/cim-class-definition.js +0 -10
  4. package/dist/constants/cim-class-definition.js.map +1 -1
  5. package/dist/constants/cim-class-names.d.ts +0 -5
  6. package/dist/constants/cim-class-names.js +0 -5
  7. package/dist/constants/cim-class-names.js.map +1 -1
  8. package/dist/converter/integral7/ConverterIntegral7.js +23 -23
  9. package/dist/converter/integral7/converter-i7.d.ts +3 -5
  10. package/dist/converter/integral7/converter-i7.js +495 -460
  11. package/dist/converter/integral7/converter-i7.js.map +1 -1
  12. package/dist/converter/integral7/interface-i7/data-structures-i7.d.ts +3 -2
  13. package/dist/converter/integral7/interface-i7/data-structures-i7.js.map +1 -1
  14. package/dist/converter/integral7/interface-i7/export-frame-i7.d.ts +3 -2
  15. package/dist/converter/integral7/interface-i7/export-frame-i7.js +15 -4
  16. package/dist/converter/integral7/interface-i7/export-frame-i7.js.map +1 -1
  17. package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.d.ts +4 -0
  18. package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.js +3 -0
  19. package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.js.map +1 -0
  20. package/dist/converter/integral7/model/dl-utils/util-functions.d.ts +13 -1
  21. package/dist/converter/integral7/model/dl-utils/util-functions.js +50 -6
  22. package/dist/converter/integral7/model/dl-utils/util-functions.js.map +1 -1
  23. package/dist/converter/integral7/model/interfaces.d.ts +0 -5
  24. package/dist/converter/integral7/model/interfaces.js.map +1 -1
  25. package/dist/converter/integral7/sql/integral.sql.d.ts +1 -87
  26. package/dist/converter/integral7/sql/integral.sql.js +8 -107
  27. package/dist/converter/integral7/sql/integral.sql.js.map +1 -1
  28. package/dist/converter/integral7/utils.js +2 -5
  29. package/dist/converter/integral7/utils.js.map +1 -1
  30. package/dist/etl/etl-neplan/etl-neplan-csv.js +39 -39
  31. package/dist/etl/etl-neplan/etl-neplan-geo.js +16 -16
  32. package/dist/etl/etl-neplan/etl-neplan.js +17 -17
  33. package/dist/index.d.ts +1 -8
  34. package/dist/index.js +2 -16
  35. package/dist/index.js.map +1 -1
  36. package/dist/model/assetinfo/SwitchInfo.js +19 -19
  37. package/dist/model/assetinfo/TapChangerInfo.js +1 -1
  38. package/dist/model/assetinfo/WireInfo.js +3 -3
  39. package/dist/model/assets/Asset.js +30 -30
  40. package/dist/model/assets/AssetDeployment.js +48 -48
  41. package/dist/model/assets/AssetHealthEvent.js +1 -1
  42. package/dist/model/assets/AssetUser.js +1 -1
  43. package/dist/model/assets/Facility.js +37 -37
  44. package/dist/model/common/CoordinateSystem.js +17 -17
  45. package/dist/model/common/Location.js +22 -22
  46. package/dist/model/common/Organisation.js +1 -1
  47. package/dist/model/common/PositionPoint.js +25 -25
  48. package/dist/model/core/BaseVoltage.js +22 -22
  49. package/dist/model/core/ConnectivityNode.js +24 -24
  50. package/dist/model/core/Feeder.js +29 -29
  51. package/dist/model/core/IdentifiedObject.js +1 -1
  52. package/dist/model/core/IdentifiedObject.js.map +1 -1
  53. package/dist/model/core/PSRType.js +43 -43
  54. package/dist/model/core/Substation.js +1 -1
  55. package/dist/model/core/Terminal.js +31 -31
  56. package/dist/model/dc/DCLine.js +17 -17
  57. package/dist/model/dc/DCLineSegment.js +25 -25
  58. package/dist/model/diagram/Diagram.js +20 -20
  59. package/dist/model/diagram/DiagramObject.js +26 -26
  60. package/dist/model/diagram/DiagramObjectPoint.js +47 -47
  61. package/dist/model/equivalents/EquivalentBranch.js +44 -44
  62. package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js +23 -23
  63. package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js +23 -23
  64. package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js +23 -23
  65. package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js +23 -23
  66. package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js +23 -23
  67. package/dist/model/extensions/amprion/assets/AMPRIONCountry.js +19 -19
  68. package/dist/model/extensions/amprion/assets/AMPRIONFacility.js +60 -60
  69. package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.js +23 -23
  70. package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js +23 -23
  71. package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js +23 -23
  72. package/dist/model/extensions/amprion/assets/AMPRIONSpanField.js +49 -49
  73. package/dist/model/extensions/amprion/assets/AMPRIONState.js +21 -21
  74. package/dist/model/extensions/amprion/assets/AMPRIONTower.js +51 -51
  75. package/dist/model/extensions/amprion/assets/AMPRIONWire.js +68 -68
  76. package/dist/model/extensions/amprion/core/AMPRIONBay.js +26 -26
  77. package/dist/model/extensions/amprion/core/AMPRIONSubstation.js +25 -25
  78. package/dist/model/extensions/amprion/model/AMPRIONModel.d.ts +0 -16
  79. package/dist/model/extensions/amprion/model/AMPRIONModel.js +0 -32
  80. package/dist/model/extensions/amprion/model/AMPRIONModel.js.map +1 -1
  81. package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js +1 -1
  82. package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerEndInfo.js +1 -1
  83. package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerInfo.js +1 -1
  84. package/dist/model/extensions/enervance/assetinfo/EVStationInfo.js +1 -1
  85. package/dist/model/extensions/enervance/assetinfo/EVTapChangerInfo.js +1 -1
  86. package/dist/model/extensions/enervance/assetinfo/EVWireInfo.js +38 -38
  87. package/dist/model/extensions/enervance/assets/EVWireObject.js +1 -1
  88. package/dist/model/extensions/enervance/wires/EVACLineSegment.js +1 -1
  89. package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js +32 -32
  90. package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js +33 -33
  91. package/dist/model/extensions/neplan-westnetz/assets/WNWireInfo.js +40 -40
  92. package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js +31 -31
  93. package/dist/model/extensions/neplan-westnetz/core/WNFeeder.js +34 -34
  94. package/dist/model/extensions/neplan-westnetz/wires/WNACLineSegment.js +1 -1
  95. package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.js +1 -1
  96. package/dist/model/generation/GeneratingUnit.js +36 -36
  97. package/dist/model/generation/WindGeneratingUnit.js +38 -38
  98. package/dist/model/loadmodel/ConformLoad.js +33 -33
  99. package/dist/model/loadmodel/ConformLoadGroup.js +22 -22
  100. package/dist/model/loadmodel/LoadArea.js +21 -21
  101. package/dist/model/loadmodel/SubLoadArea.js +22 -22
  102. package/dist/model/model/Model.d.ts +1 -6
  103. package/dist/model/model/Model.js +0 -12
  104. package/dist/model/model/Model.js.map +1 -1
  105. package/dist/model/model-operations/ModelOperationDescription.d.ts +1 -5
  106. package/dist/model/model-operations/ModelOperationDescription.js +1 -36
  107. package/dist/model/model-operations/ModelOperationDescription.js.map +1 -1
  108. package/dist/model/operationallimits/CurrentLimit.js +19 -19
  109. package/dist/model/operationallimits/OperationalLimitSet.js +18 -18
  110. package/dist/model/operationallimits/OperationalLimitType.js +16 -16
  111. package/dist/model/statevariables/SvPowerFlow.js +20 -20
  112. package/dist/model/statevariables/SvVoltage.js +1 -1
  113. package/dist/model/topology/TopologicalIsland.js +1 -1
  114. package/dist/model/topology/TopologicalNode.js +25 -25
  115. package/dist/model/wires/Breaker.js +34 -34
  116. package/dist/model/wires/BusbarSection.js +1 -1
  117. package/dist/model/wires/Clamp.js +1 -1
  118. package/dist/model/wires/Disconnector.js +31 -31
  119. package/dist/model/wires/EnergyConsumer.js +32 -32
  120. package/dist/model/wires/ExternalNetworkInjection.js +45 -45
  121. package/dist/model/wires/Ground.js +1 -1
  122. package/dist/model/wires/GroundDisconnector.js +1 -1
  123. package/dist/model/wires/Junction.js +20 -20
  124. package/dist/model/wires/Line.js +23 -23
  125. package/dist/model/wires/LinearShuntCompensator.js +36 -36
  126. package/dist/model/wires/LoadBreakSwitch.js +1 -1
  127. package/dist/model/wires/PetersenCoil.js +34 -34
  128. package/dist/model/wires/PowerTransformer.js +27 -27
  129. package/dist/model/wires/PowerTransformerEnd.js +31 -31
  130. package/dist/model/wires/Recloser.js +1 -1
  131. package/dist/model/wires/RegulatingControl.js +31 -31
  132. package/dist/model/wires/SeriesCompensator.js +36 -36
  133. package/dist/model/wires/Switch.js +32 -32
  134. package/dist/model/wires/SynchronousMachine.js +1 -1
  135. package/dist/package.json +16 -16
  136. package/package.json +94 -94
  137. package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.d.ts +0 -8
  138. package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js +0 -45
  139. package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js.map +0 -1
  140. package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.d.ts +0 -8
  141. package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js +0 -45
  142. package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js.map +0 -1
  143. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.d.ts +0 -8
  144. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js +0 -45
  145. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js.map +0 -1
  146. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.d.ts +0 -8
  147. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js +0 -45
  148. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js.map +0 -1
@@ -364,50 +364,50 @@ class ExternalNetworkInjection extends RegulatingCondEq_1.RegulatingCondEq {
364
364
  }
365
365
  }
366
366
  exports.ExternalNetworkInjection = ExternalNetworkInjection;
367
- ExternalNetworkInjection.sparqlQuery = `
368
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
369
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
370
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
371
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
372
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
373
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
374
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
375
-
376
- SELECT (strafter(strafter(str(?eneUUID), '#'), '_') AS ?uuid) ?name ?shortName ?description ?aggregate ?p ?q
377
- ?referencePriority ?controlEnabled ?maxInitialSymShCCurrent ?minInitialSymShCCurrent ?maxR0ToX0Ratio
378
- ?maxR1ToX1Ratio ?maxZ0ToZ1Ratio ?minR0ToX0Ratio ?minR1ToX1Ratio ?minZ0ToZ1Ratio ?maxP ?maxQ ?minP ?minQ ?governorSCD
379
- (strafter(strafter(str(?regCntrUUID), '#'), '_') AS ?regulatingControlUUID)
380
- (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
381
-
382
- WHERE {
383
- GRAPH <http://default/>{
384
- ?eneUUID rdf:type cim:ExternalNetworkInjection .
385
- OPTIONAL{?eneUUID cim:IdentifiedObject.name ?name .}
386
- OPTIONAL{?eneUUID entsoe:IdentifiedObject.shortName ?shortName .}
387
- OPTIONAL{?eneUUID cim:IdentifiedObject.description ?description .}
388
- OPTIONAL{?eneUUID cim:Equipment.aggregate ?aggregate .}
389
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.p ?p .}
390
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.q ?q .}
391
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.referencePriority ?referencePriority .}
392
- OPTIONAL{?eneUUID cim:RegulatingCondEq.controlEnabled ?controlEnabled .}
393
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxInitialSymShCCurrent ?maxInitialSymShCCurrent .}
394
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minInitialSymShCCurrent ?minInitialSymShCCurrent .}
395
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxR0ToX0Ratio ?maxR0ToX0Ratio .}
396
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxR1ToX1Ratio ?maxR1ToX1Ratio .}
397
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxZ0ToZ1Ratio ?maxZ0ToZ1Ratio .}
398
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minR0ToX0Ratio ?minR0ToX0Ratio .}
399
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minR1ToX1Ratio ?minR1ToX1Ratio .}
400
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minZ0ToZ1Ratio ?minZ0ToZ1Ratio .}
401
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.voltageFactor ?voltageFactor .}
402
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxP ?maxP .}
403
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxQ ?maxQ .}
404
-
405
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minP ?minP .}
406
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minQ ?minQ .}
407
- OPTIONAL{?eneUUID cim:ExternalNetworkInjection.governorSCD ?governorSCD .}
408
- OPTIONAL{?eneUUID cim:RegulatingCondEq.RegulatingControl ?regCntrUUID .}
409
- OPTIONAL{?eneUUID cim:Equipment.EquipmentContainer ?ecUUID .}
410
- }
411
- }
367
+ ExternalNetworkInjection.sparqlQuery = `
368
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
369
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
370
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
371
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
372
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
373
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
374
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
375
+
376
+ SELECT (strafter(strafter(str(?eneUUID), '#'), '_') AS ?uuid) ?name ?shortName ?description ?aggregate ?p ?q
377
+ ?referencePriority ?controlEnabled ?maxInitialSymShCCurrent ?minInitialSymShCCurrent ?maxR0ToX0Ratio
378
+ ?maxR1ToX1Ratio ?maxZ0ToZ1Ratio ?minR0ToX0Ratio ?minR1ToX1Ratio ?minZ0ToZ1Ratio ?maxP ?maxQ ?minP ?minQ ?governorSCD
379
+ (strafter(strafter(str(?regCntrUUID), '#'), '_') AS ?regulatingControlUUID)
380
+ (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
381
+
382
+ WHERE {
383
+ GRAPH <http://default/>{
384
+ ?eneUUID rdf:type cim:ExternalNetworkInjection .
385
+ OPTIONAL{?eneUUID cim:IdentifiedObject.name ?name .}
386
+ OPTIONAL{?eneUUID entsoe:IdentifiedObject.shortName ?shortName .}
387
+ OPTIONAL{?eneUUID cim:IdentifiedObject.description ?description .}
388
+ OPTIONAL{?eneUUID cim:Equipment.aggregate ?aggregate .}
389
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.p ?p .}
390
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.q ?q .}
391
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.referencePriority ?referencePriority .}
392
+ OPTIONAL{?eneUUID cim:RegulatingCondEq.controlEnabled ?controlEnabled .}
393
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxInitialSymShCCurrent ?maxInitialSymShCCurrent .}
394
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minInitialSymShCCurrent ?minInitialSymShCCurrent .}
395
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxR0ToX0Ratio ?maxR0ToX0Ratio .}
396
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxR1ToX1Ratio ?maxR1ToX1Ratio .}
397
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxZ0ToZ1Ratio ?maxZ0ToZ1Ratio .}
398
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minR0ToX0Ratio ?minR0ToX0Ratio .}
399
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minR1ToX1Ratio ?minR1ToX1Ratio .}
400
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minZ0ToZ1Ratio ?minZ0ToZ1Ratio .}
401
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.voltageFactor ?voltageFactor .}
402
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxP ?maxP .}
403
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.maxQ ?maxQ .}
404
+
405
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minP ?minP .}
406
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.minQ ?minQ .}
407
+ OPTIONAL{?eneUUID cim:ExternalNetworkInjection.governorSCD ?governorSCD .}
408
+ OPTIONAL{?eneUUID cim:RegulatingCondEq.RegulatingControl ?regCntrUUID .}
409
+ OPTIONAL{?eneUUID cim:Equipment.EquipmentContainer ?ecUUID .}
410
+ }
411
+ }
412
412
  `;
413
413
  //# sourceMappingURL=ExternalNetworkInjection.js.map
@@ -22,7 +22,7 @@ Ground.sparqlQuery = `
22
22
  PREFIX enervance: <http://enervance.com/CIM/Extensions#>
23
23
  PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
24
24
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
25
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
25
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
26
26
  PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
27
27
  PREFIX afn: <http://jena.apache.org/ARQ/function#>
28
28
 
@@ -22,7 +22,7 @@ GroundDisconnector.sparqlQuery = `
22
22
  PREFIX enervance: <http://enervance.com/CIM/Extensions#>
23
23
  PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
24
24
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
25
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
25
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
26
26
  PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
27
27
  PREFIX afn: <http://jena.apache.org/ARQ/function#>
28
28
 
@@ -38,25 +38,25 @@ class Junction extends Connector_1.Connector {
38
38
  }
39
39
  }
40
40
  exports.Junction = Junction;
41
- Junction.sparqlQuery = `
42
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
43
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
44
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
45
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
46
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
47
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
48
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
49
-
50
- SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
51
- ?name
52
- (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
53
-
54
- WHERE {
55
- GRAPH <http://default/>{
56
- ?MRID rdf:type cim:Junction .
57
- ?MRID cim:IdentifiedObject.name ?name .
58
- OPTIONAL {?MRID cim:Equipment.EquipmentContainer ?ecUUID .}
59
- }
60
- }
41
+ Junction.sparqlQuery = `
42
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
43
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
44
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
45
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
46
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
47
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
48
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
49
+
50
+ SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
51
+ ?name
52
+ (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
53
+
54
+ WHERE {
55
+ GRAPH <http://default/>{
56
+ ?MRID rdf:type cim:Junction .
57
+ ?MRID cim:IdentifiedObject.name ?name .
58
+ OPTIONAL {?MRID cim:Equipment.EquipmentContainer ?ecUUID .}
59
+ }
60
+ }
61
61
  `;
62
62
  //# sourceMappingURL=Junction.js.map
@@ -86,28 +86,28 @@ class Line extends EquipmentContainer_1.EquipmentContainer {
86
86
  }
87
87
  }
88
88
  exports.Line = Line;
89
- Line.sparqlQuery = `
90
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
91
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
92
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
93
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
94
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
95
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
96
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
97
-
98
- SELECT (strafter(strafter(str(?lUUID), '#'), '_') AS ?uuid) ?name ?shortName ?description
99
- (strafter(strafter(str(?rUUID ), '#'), '_') AS ?regionUUID)
100
-
101
- WHERE {
102
- GRAPH <http://default/>{
103
-
104
- ?lUUID rdf:type cim:Line .
105
- OPTIONAL {?lUUID cim:IdentifiedObject.name ?name .}
106
- OPTIONAL {?lUUID entsoe:IdentifiedObject.shortName ?shortName .}
107
- OPTIONAL {?lUUID cim:IdentifiedObject.description ?description .}
108
- #Region
109
- OPTIONAL {?lUUID cim:Line.Region ?rUUID .}
110
- }
111
- }
89
+ Line.sparqlQuery = `
90
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
91
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
92
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
93
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
94
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
95
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
96
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
97
+
98
+ SELECT (strafter(strafter(str(?lUUID), '#'), '_') AS ?uuid) ?name ?shortName ?description
99
+ (strafter(strafter(str(?rUUID ), '#'), '_') AS ?regionUUID)
100
+
101
+ WHERE {
102
+ GRAPH <http://default/>{
103
+
104
+ ?lUUID rdf:type cim:Line .
105
+ OPTIONAL {?lUUID cim:IdentifiedObject.name ?name .}
106
+ OPTIONAL {?lUUID entsoe:IdentifiedObject.shortName ?shortName .}
107
+ OPTIONAL {?lUUID cim:IdentifiedObject.description ?description .}
108
+ #Region
109
+ OPTIONAL {?lUUID cim:Line.Region ?rUUID .}
110
+ }
111
+ }
112
112
  `;
113
113
  //# sourceMappingURL=Line.js.map
@@ -56,41 +56,41 @@ class LinearShuntCompensator extends ShuntCompensator_1.ShuntCompensator {
56
56
  }
57
57
  }
58
58
  exports.LinearShuntCompensator = LinearShuntCompensator;
59
- LinearShuntCompensator.sparqlQuery = `
60
- PREFIX cim:\t \t\t<http://iec.ch/TC57/2013/CIM-schema-cim16#>
61
- PREFIX enervance:\t<http://enervance.com/CIM/Extensions#>
62
- PREFIX entsoe:\t \t<http://entsoe.eu/CIM/SchemaExtension/3/1#>
63
- PREFIX rdf:\t \t\t<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
64
- PREFIX amp:\t \t\t<http://amprion.net/CIM/Extensions#>
65
- PREFIX apf:\t \t\t<http://jena.hpl.hp.com/ARQ/property#>
66
- PREFIX afn:\t \t\t<http://jena.apache.org/ARQ/function#>
67
-
68
- SELECT (strafter(strafter(str(?MRID), "#"), "_") AS ?uuid)
69
- ?name ?shortName ?description ?r ?x ?r0 ?x0 ?varistorPresent ?varistorRatedCurrent ?varistorVoltageThreshold
70
- (strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
71
- (strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
72
- (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
73
- WHERE {
74
- GRAPH <http://default/>{
75
- ?MRID rdf:type cim:LinearShuntCompensator .
76
- OPTIONAL{?MRID cim:IdentifiedObject.name ?name .}
77
- OPTIONAL{?MRID entsoe:IdentifiedObject.shortName ?shortName .}
78
- OPTIONAL{?MRID cim:IdentifiedObject.description ?description .}
79
- OPTIONAL{?MRID cim:Equipment.aggregate ?aggregate .}
80
- OPTIONAL{?MRID cim:SeriesCompensator.r ?r .}
81
- OPTIONAL{?MRID cim:SeriesCompensator.x ?x .}
82
- OPTIONAL{?MRID cim:SeriesCompensator.r0 ?r0 .}
83
- OPTIONAL{?MRID cim:SeriesCompensator.x0 ?x0 .}
84
-
85
- OPTIONAL{?MRID cim:SeriesCompensator.varistorPresent ?varistorPresent .}
86
- OPTIONAL{?MRID cim:SeriesCompensator.varistorRatedCurrent ?varistorRatedCurrent
87
- OPTIONAL{?MRID cim:SeriesCompensator.varistorVoltageThreshold ?varistorVoltageThreshold .}
88
-
89
- OPTIONAL{?MRID cim:PowerSystemResource.PSRType ?ptUUID .}
90
- OPTIONAL{?MRID cim:ConductingEquipment.BaseVoltage ?bvUUID .}
91
- OPTIONAL{?MRID cim:Equipment.EquipmentContainer ?ecUUID .}
92
- }
93
- }
94
- }
59
+ LinearShuntCompensator.sparqlQuery = `
60
+ PREFIX cim:\t \t\t<http://iec.ch/TC57/2013/CIM-schema-cim16#>
61
+ PREFIX enervance:\t<http://enervance.com/CIM/Extensions#>
62
+ PREFIX entsoe:\t \t<http://entsoe.eu/CIM/SchemaExtension/3/1#>
63
+ PREFIX rdf:\t \t\t<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
64
+ PREFIX amp:\t \t\t<http://amprion.net/2018/cim_extensions#>
65
+ PREFIX apf:\t \t\t<http://jena.hpl.hp.com/ARQ/property#>
66
+ PREFIX afn:\t \t\t<http://jena.apache.org/ARQ/function#>
67
+
68
+ SELECT (strafter(strafter(str(?MRID), "#"), "_") AS ?uuid)
69
+ ?name ?shortName ?description ?r ?x ?r0 ?x0 ?varistorPresent ?varistorRatedCurrent ?varistorVoltageThreshold
70
+ (strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
71
+ (strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
72
+ (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
73
+ WHERE {
74
+ GRAPH <http://default/>{
75
+ ?MRID rdf:type cim:LinearShuntCompensator .
76
+ OPTIONAL{?MRID cim:IdentifiedObject.name ?name .}
77
+ OPTIONAL{?MRID entsoe:IdentifiedObject.shortName ?shortName .}
78
+ OPTIONAL{?MRID cim:IdentifiedObject.description ?description .}
79
+ OPTIONAL{?MRID cim:Equipment.aggregate ?aggregate .}
80
+ OPTIONAL{?MRID cim:SeriesCompensator.r ?r .}
81
+ OPTIONAL{?MRID cim:SeriesCompensator.x ?x .}
82
+ OPTIONAL{?MRID cim:SeriesCompensator.r0 ?r0 .}
83
+ OPTIONAL{?MRID cim:SeriesCompensator.x0 ?x0 .}
84
+
85
+ OPTIONAL{?MRID cim:SeriesCompensator.varistorPresent ?varistorPresent .}
86
+ OPTIONAL{?MRID cim:SeriesCompensator.varistorRatedCurrent ?varistorRatedCurrent
87
+ OPTIONAL{?MRID cim:SeriesCompensator.varistorVoltageThreshold ?varistorVoltageThreshold .}
88
+
89
+ OPTIONAL{?MRID cim:PowerSystemResource.PSRType ?ptUUID .}
90
+ OPTIONAL{?MRID cim:ConductingEquipment.BaseVoltage ?bvUUID .}
91
+ OPTIONAL{?MRID cim:Equipment.EquipmentContainer ?ecUUID .}
92
+ }
93
+ }
94
+ }
95
95
  `;
96
96
  //# sourceMappingURL=LinearShuntCompensator.js.map
@@ -64,7 +64,7 @@ LoadBreakSwitch.sparqlQuery = `
64
64
  PREFIX enervance: <http://enervance.com/CIM/Extensions#>
65
65
  PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
66
66
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
67
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
67
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
68
68
  PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
69
69
  PREFIX afn: <http://jena.apache.org/ARQ/function#>
70
70
 
@@ -93,39 +93,39 @@ class PetersenCoil extends EarthFaultCompensator_1.EarthFaultCompensator {
93
93
  }
94
94
  }
95
95
  exports.PetersenCoil = PetersenCoil;
96
- PetersenCoil.sparqlQuery = `
97
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
98
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
99
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
100
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
101
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
102
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
103
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
104
-
105
- SELECT (strafter(strafter(str(?acLineSegmentUUID), '#'), '_') AS ?uuid)
106
- (CONCAT(STRBEFORE(STR(?acLineSegmentUUID), '#_'), '#_') AS ?baseIRI)
107
- ?name ?shortName ?description ?length ?r ?x ?bch ?gch ?installation
108
- (strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
109
- (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
110
- (strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
111
-
112
- WHERE {
113
- GRAPH <http://default/>{
114
- ?acLineSegmentUUID rdf:type cim:ACLineSegment .
115
- OPTIONAL {?acLineSegmentUUID cim:IdentifiedObject.name ?name .}
116
- OPTIONAL {?acLineSegmentUUID entsoe:IdentifiedObject.shortName ?shortName .}
117
- OPTIONAL {?acLineSegmentUUID cim:IdentifiedObject.description ?description .}
118
- OPTIONAL {?acLineSegmentUUID enervance:IdentifiedObject.installation ?installation .}
119
- OPTIONAL {?acLineSegmentUUID cim:Conductor.length ?length .}
120
- OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.r ?r .}
121
- OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.x ?x .}
122
- OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.bch ?bch .}
123
- OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.gch ?gch .}
124
- OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.length ?length .}
125
- OPTIONAL {?acLineSegmentUUID cim:ConductingEquipment.BaseVoltage ?bvUUID .}
126
- OPTIONAL {?acLineSegmentUUID cim:Equipment.EquipmentContainer ?ecUUID .}
127
- OPTIONAL {?acLineSegmentUUID cim:PowerSystemResource.PSRType ?ptUUID .}
128
- }
129
- }
96
+ PetersenCoil.sparqlQuery = `
97
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
98
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
99
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
100
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
101
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
102
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
103
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
104
+
105
+ SELECT (strafter(strafter(str(?acLineSegmentUUID), '#'), '_') AS ?uuid)
106
+ (CONCAT(STRBEFORE(STR(?acLineSegmentUUID), '#_'), '#_') AS ?baseIRI)
107
+ ?name ?shortName ?description ?length ?r ?x ?bch ?gch ?installation
108
+ (strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
109
+ (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
110
+ (strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
111
+
112
+ WHERE {
113
+ GRAPH <http://default/>{
114
+ ?acLineSegmentUUID rdf:type cim:ACLineSegment .
115
+ OPTIONAL {?acLineSegmentUUID cim:IdentifiedObject.name ?name .}
116
+ OPTIONAL {?acLineSegmentUUID entsoe:IdentifiedObject.shortName ?shortName .}
117
+ OPTIONAL {?acLineSegmentUUID cim:IdentifiedObject.description ?description .}
118
+ OPTIONAL {?acLineSegmentUUID enervance:IdentifiedObject.installation ?installation .}
119
+ OPTIONAL {?acLineSegmentUUID cim:Conductor.length ?length .}
120
+ OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.r ?r .}
121
+ OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.x ?x .}
122
+ OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.bch ?bch .}
123
+ OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.gch ?gch .}
124
+ OPTIONAL {?acLineSegmentUUID cim:ACLineSegment.length ?length .}
125
+ OPTIONAL {?acLineSegmentUUID cim:ConductingEquipment.BaseVoltage ?bvUUID .}
126
+ OPTIONAL {?acLineSegmentUUID cim:Equipment.EquipmentContainer ?ecUUID .}
127
+ OPTIONAL {?acLineSegmentUUID cim:PowerSystemResource.PSRType ?ptUUID .}
128
+ }
129
+ }
130
130
  `;
131
131
  //# sourceMappingURL=PetersenCoil.js.map
@@ -158,32 +158,32 @@ class PowerTransformer extends ConductingEquipment_1.ConductingEquipment {
158
158
  }
159
159
  }
160
160
  exports.PowerTransformer = PowerTransformer;
161
- PowerTransformer.sparqlQuery = `
162
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
163
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
164
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
165
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
166
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
167
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
168
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
169
-
170
- SELECT (strafter(strafter(str(?trUUID), '#'), '_') AS ?uuid)
171
- (CONCAT(STRBEFORE(STR(?trUUID), '#_'), '#_') AS ?baseIRI)
172
- ?name ?shortName ?description ?installation ?isPartOfGeneratorUnit
173
- (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
174
-
175
- WHERE {
176
- GRAPH <http://default/>{
177
-
178
- ?trUUID rdf:type cim:PowerTransformer .
179
- OPTIONAL {?trUUID cim:IdentifiedObject.name ?name .}
180
- OPTIONAL {?trUUID entsoe:IdentifiedObject.shortName ?shortName .}
181
- OPTIONAL {?trUUID cim:IdentifiedObject.description ?description .}
182
- OPTIONAL {?trUUID enervance:IdentifiedObject.installation ?installation .}
183
- OPTIONAL {?trUUID cim:IdentifiedObject.description ?description .}
184
- OPTIONAL {?trUUID cim:PowerTransformer.isPartOfGeneratorUnit ?isPartOfGeneratorUnit .}
185
- OPTIONAL {?trUUID cim:Equipment.EquipmentContainer ?ecUUID .}
186
- }
187
- }
161
+ PowerTransformer.sparqlQuery = `
162
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
163
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
164
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
165
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
166
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
167
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
168
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
169
+
170
+ SELECT (strafter(strafter(str(?trUUID), '#'), '_') AS ?uuid)
171
+ (CONCAT(STRBEFORE(STR(?trUUID), '#_'), '#_') AS ?baseIRI)
172
+ ?name ?shortName ?description ?installation ?isPartOfGeneratorUnit
173
+ (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
174
+
175
+ WHERE {
176
+ GRAPH <http://default/>{
177
+
178
+ ?trUUID rdf:type cim:PowerTransformer .
179
+ OPTIONAL {?trUUID cim:IdentifiedObject.name ?name .}
180
+ OPTIONAL {?trUUID entsoe:IdentifiedObject.shortName ?shortName .}
181
+ OPTIONAL {?trUUID cim:IdentifiedObject.description ?description .}
182
+ OPTIONAL {?trUUID enervance:IdentifiedObject.installation ?installation .}
183
+ OPTIONAL {?trUUID cim:IdentifiedObject.description ?description .}
184
+ OPTIONAL {?trUUID cim:PowerTransformer.isPartOfGeneratorUnit ?isPartOfGeneratorUnit .}
185
+ OPTIONAL {?trUUID cim:Equipment.EquipmentContainer ?ecUUID .}
186
+ }
187
+ }
188
188
  `;
189
189
  //# sourceMappingURL=PowerTransformer.js.map
@@ -119,36 +119,36 @@ class PowerTransformerEnd extends TransformerEnd_1.TransformerEnd {
119
119
  }
120
120
  }
121
121
  exports.PowerTransformerEnd = PowerTransformerEnd;
122
- PowerTransformerEnd.sparqlQuery = `
123
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
124
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
125
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
126
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
127
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
128
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
129
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
130
-
131
- SELECT (strafter(strafter(str(?ptreUUID), '#'), '_') AS ?uuid)
132
- ?name ?shortName ?description ?r ?x ?ratedS ?ratedU ?endNumber
133
- (strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
134
- (strafter(strafter(str(?ptUUID), '#'), '_') AS ?powerTransformerUUID)
135
- (strafter(strafter(str(?trUUID), '#'), '_') AS ?terminalUUID)
136
- WHERE {
137
- GRAPH <http://default/>{
138
-
139
- ?ptreUUID rdf:type cim:PowerTransformerEnd .
140
- OPTIONAL{?ptreUUID cim:IdentifiedObject.name ?name .}
141
- OPTIONAL{?ptreUUID entsoe:IdentifiedObject.shortName ?shortName .}
142
- OPTIONAL{?ptreUUID cim:IdentifiedObject.description ?description .}
143
- OPTIONAL{?ptreUUID cim:PowerTransformerEnd.r ?r .}
144
- OPTIONAL{?ptreUUID cim:PowerTransformerEnd.x ?x .}
145
- OPTIONAL{?ptreUUID cim:PowerTransformerEnd.ratedS ?ratedS .}
146
- OPTIONAL{?ptreUUID cim:PowerTransformerEnd.ratedU ?ratedU .}
147
- OPTIONAL{?ptreUUID cim:TransformerEnd.endNumber ?endNumber .}
148
- OPTIONAL{?ptreUUID cim:TransformerEnd.BaseVoltage ?bvUUID}
149
- OPTIONAL{?ptreUUID cim:TransformerEnd.Terminal ?trUUID.}
150
- OPTIONAL{?ptreUUID cim:PowerTransformerEnd.PowerTransformer ?ptUUID.}
151
- }
152
- }
122
+ PowerTransformerEnd.sparqlQuery = `
123
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
124
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
125
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
126
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
127
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
128
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
129
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
130
+
131
+ SELECT (strafter(strafter(str(?ptreUUID), '#'), '_') AS ?uuid)
132
+ ?name ?shortName ?description ?r ?x ?ratedS ?ratedU ?endNumber
133
+ (strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
134
+ (strafter(strafter(str(?ptUUID), '#'), '_') AS ?powerTransformerUUID)
135
+ (strafter(strafter(str(?trUUID), '#'), '_') AS ?terminalUUID)
136
+ WHERE {
137
+ GRAPH <http://default/>{
138
+
139
+ ?ptreUUID rdf:type cim:PowerTransformerEnd .
140
+ OPTIONAL{?ptreUUID cim:IdentifiedObject.name ?name .}
141
+ OPTIONAL{?ptreUUID entsoe:IdentifiedObject.shortName ?shortName .}
142
+ OPTIONAL{?ptreUUID cim:IdentifiedObject.description ?description .}
143
+ OPTIONAL{?ptreUUID cim:PowerTransformerEnd.r ?r .}
144
+ OPTIONAL{?ptreUUID cim:PowerTransformerEnd.x ?x .}
145
+ OPTIONAL{?ptreUUID cim:PowerTransformerEnd.ratedS ?ratedS .}
146
+ OPTIONAL{?ptreUUID cim:PowerTransformerEnd.ratedU ?ratedU .}
147
+ OPTIONAL{?ptreUUID cim:TransformerEnd.endNumber ?endNumber .}
148
+ OPTIONAL{?ptreUUID cim:TransformerEnd.BaseVoltage ?bvUUID}
149
+ OPTIONAL{?ptreUUID cim:TransformerEnd.Terminal ?trUUID.}
150
+ OPTIONAL{?ptreUUID cim:PowerTransformerEnd.PowerTransformer ?ptUUID.}
151
+ }
152
+ }
153
153
  `;
154
154
  //# sourceMappingURL=PowerTransformerEnd.js.map
@@ -19,7 +19,7 @@ Recloser.sparqlQuery = `
19
19
  PREFIX enervance: <http://enervance.com/CIM/Extensions#>
20
20
  PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
21
21
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
22
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
22
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
23
23
  PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
24
24
  PREFIX afn: <http://jena.apache.org/ARQ/function#>
25
25
 
@@ -142,36 +142,36 @@ class RegulatingControl extends __1.PowerSystemResource {
142
142
  }
143
143
  }
144
144
  exports.RegulatingControl = RegulatingControl;
145
- RegulatingControl.sparqlQuery = `
146
- ${sparql_building_block_1.NS_PREFIX_CIM}
147
- ${sparql_building_block_1.NS_PREFIX_ENERVANCE}
148
- ${sparql_building_block_1.NS_PREFIX_ENTSOE}
149
- ${sparql_building_block_1.NS_PREFIX_RDF}
150
- ${sparql_building_block_1.NS_PREFIX_RDF}
151
- ${sparql_building_block_1.NS_PREFIX_ENTSOE}
152
- ${sparql_building_block_1.NS_PREFIX_APF}
153
- ${sparql_building_block_1.NS_PREFIX_AFN}
154
-
155
- SELECT (strafter(strafter(str(?regCntrUUID), '#'), '_') AS ?uuid)
156
- (CONCAT(STRBEFORE(STR(?regCntrUUID), '#_'), '#_') AS ?baseIRI)
157
- ?name ?discrete ?targetDeadband
158
- ?enabled ?targetValue
159
- (strafter(strafter(str(?modeEnum), '#'), '.') AS ?mode)
160
- (strafter(strafter(str(?targetValueMultrEnum), '#'), '.') AS ?targetValueUnitMultiplier)
161
- (strafter(strafter(str(?trUUID), '#'), '_') AS ?terminalUUID)
162
-
163
- WHERE {
164
- GRAPH <http://default/>{
165
- ?regCntrUUID rdf:type cim:RegulatingControl .
166
- OPTIONAL{?regCntrUUID cim:IdentifiedObject.name ?name .}
167
- OPTIONAL{?regCntrUUID cim:RegulatingControl.discrete ?discrete .}
168
- OPTIONAL{?regCntrUUID cim:RegulatingControl.targetDeadband ?targetDeadband .}
169
- OPTIONAL{?regCntrUUID cim:RegulatingControl.enabled ?enabled .}
170
- OPTIONAL{?regCntrUUID cim:RegulatingControl.targetValue ?targetValue .}
171
- OPTIONAL{?regCntrUUID cim:RegulatingControl.mode ?modeEnum .}
172
- OPTIONAL{?regCntrUUID cim:RegulatingControl.targetValueUnitMultiplier ?targetValueMultrEnum .}
173
- OPTIONAL{?regCntrUUID cim:RegulatingControl.Terminal ?trUUID .}
174
- }
175
- }
145
+ RegulatingControl.sparqlQuery = `
146
+ ${sparql_building_block_1.NS_PREFIX_CIM}
147
+ ${sparql_building_block_1.NS_PREFIX_ENERVANCE}
148
+ ${sparql_building_block_1.NS_PREFIX_ENTSOE}
149
+ ${sparql_building_block_1.NS_PREFIX_RDF}
150
+ ${sparql_building_block_1.NS_PREFIX_RDF}
151
+ ${sparql_building_block_1.NS_PREFIX_ENTSOE}
152
+ ${sparql_building_block_1.NS_PREFIX_APF}
153
+ ${sparql_building_block_1.NS_PREFIX_AFN}
154
+
155
+ SELECT (strafter(strafter(str(?regCntrUUID), '#'), '_') AS ?uuid)
156
+ (CONCAT(STRBEFORE(STR(?regCntrUUID), '#_'), '#_') AS ?baseIRI)
157
+ ?name ?discrete ?targetDeadband
158
+ ?enabled ?targetValue
159
+ (strafter(strafter(str(?modeEnum), '#'), '.') AS ?mode)
160
+ (strafter(strafter(str(?targetValueMultrEnum), '#'), '.') AS ?targetValueUnitMultiplier)
161
+ (strafter(strafter(str(?trUUID), '#'), '_') AS ?terminalUUID)
162
+
163
+ WHERE {
164
+ GRAPH <http://default/>{
165
+ ?regCntrUUID rdf:type cim:RegulatingControl .
166
+ OPTIONAL{?regCntrUUID cim:IdentifiedObject.name ?name .}
167
+ OPTIONAL{?regCntrUUID cim:RegulatingControl.discrete ?discrete .}
168
+ OPTIONAL{?regCntrUUID cim:RegulatingControl.targetDeadband ?targetDeadband .}
169
+ OPTIONAL{?regCntrUUID cim:RegulatingControl.enabled ?enabled .}
170
+ OPTIONAL{?regCntrUUID cim:RegulatingControl.targetValue ?targetValue .}
171
+ OPTIONAL{?regCntrUUID cim:RegulatingControl.mode ?modeEnum .}
172
+ OPTIONAL{?regCntrUUID cim:RegulatingControl.targetValueUnitMultiplier ?targetValueMultrEnum .}
173
+ OPTIONAL{?regCntrUUID cim:RegulatingControl.Terminal ?trUUID .}
174
+ }
175
+ }
176
176
  `;
177
177
  //# sourceMappingURL=RegulatingControl.js.map