@enervance/insight-cim-model 0.0.58 → 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 (156) 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/constants/cim.sourcesystem.d.ts +5 -6
  9. package/dist/constants/cim.sourcesystem.js +8 -9
  10. package/dist/constants/cim.sourcesystem.js.map +1 -1
  11. package/dist/converter/integral7/ConverterIntegral7.js +23 -23
  12. package/dist/converter/integral7/converter-i7.d.ts +3 -5
  13. package/dist/converter/integral7/converter-i7.js +495 -460
  14. package/dist/converter/integral7/converter-i7.js.map +1 -1
  15. package/dist/converter/integral7/interface-i7/data-structures-i7.d.ts +3 -2
  16. package/dist/converter/integral7/interface-i7/data-structures-i7.js.map +1 -1
  17. package/dist/converter/integral7/interface-i7/export-frame-i7.d.ts +3 -2
  18. package/dist/converter/integral7/interface-i7/export-frame-i7.js +15 -4
  19. package/dist/converter/integral7/interface-i7/export-frame-i7.js.map +1 -1
  20. package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.d.ts +4 -0
  21. package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.js +3 -0
  22. package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.js.map +1 -0
  23. package/dist/converter/integral7/model/dl-utils/util-functions.d.ts +13 -1
  24. package/dist/converter/integral7/model/dl-utils/util-functions.js +50 -6
  25. package/dist/converter/integral7/model/dl-utils/util-functions.js.map +1 -1
  26. package/dist/converter/integral7/model/interfaces.d.ts +0 -5
  27. package/dist/converter/integral7/model/interfaces.js.map +1 -1
  28. package/dist/converter/integral7/sql/integral.sql.d.ts +1 -87
  29. package/dist/converter/integral7/sql/integral.sql.js +8 -107
  30. package/dist/converter/integral7/sql/integral.sql.js.map +1 -1
  31. package/dist/converter/integral7/utils.js +2 -5
  32. package/dist/converter/integral7/utils.js.map +1 -1
  33. package/dist/etl/etl-neplan/etl-neplan-csv.js +39 -39
  34. package/dist/etl/etl-neplan/etl-neplan-geo.js +16 -16
  35. package/dist/etl/etl-neplan/etl-neplan.js +17 -17
  36. package/dist/index.d.ts +2 -9
  37. package/dist/index.js +3 -17
  38. package/dist/index.js.map +1 -1
  39. package/dist/model/assetinfo/SwitchInfo.js +19 -19
  40. package/dist/model/assetinfo/TapChangerInfo.js +1 -1
  41. package/dist/model/assetinfo/WireInfo.js +3 -3
  42. package/dist/model/assets/Asset.js +30 -30
  43. package/dist/model/assets/AssetDeployment.js +48 -48
  44. package/dist/model/assets/AssetHealthEvent.js +1 -1
  45. package/dist/model/assets/AssetUser.js +1 -1
  46. package/dist/model/assets/Facility.js +37 -37
  47. package/dist/model/common/CoordinateSystem.js +17 -17
  48. package/dist/model/common/Location.js +22 -22
  49. package/dist/model/common/Organisation.js +1 -1
  50. package/dist/model/common/PositionPoint.js +25 -25
  51. package/dist/model/core/BaseVoltage.js +22 -22
  52. package/dist/model/core/ConnectivityNode.js +24 -24
  53. package/dist/model/core/Feeder.js +29 -29
  54. package/dist/model/core/IdentifiedObject.js +1 -1
  55. package/dist/model/core/IdentifiedObject.js.map +1 -1
  56. package/dist/model/core/PSRType.js +43 -43
  57. package/dist/model/core/Substation.js +1 -1
  58. package/dist/model/core/Terminal.js +31 -31
  59. package/dist/model/dc/DCLine.js +17 -17
  60. package/dist/model/dc/DCLineSegment.js +25 -25
  61. package/dist/model/diagram/Diagram.js +20 -20
  62. package/dist/model/diagram/DiagramObject.js +26 -26
  63. package/dist/model/diagram/DiagramObjectPoint.js +47 -47
  64. package/dist/model/equivalents/EquivalentBranch.js +44 -44
  65. package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js +23 -23
  66. package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js +23 -23
  67. package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js +23 -23
  68. package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js +23 -23
  69. package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js +23 -23
  70. package/dist/model/extensions/amprion/assets/AMPRIONCountry.js +19 -19
  71. package/dist/model/extensions/amprion/assets/AMPRIONFacility.js +60 -60
  72. package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.js +23 -23
  73. package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js +23 -23
  74. package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js +23 -23
  75. package/dist/model/extensions/amprion/assets/AMPRIONSpanField.js +49 -49
  76. package/dist/model/extensions/amprion/assets/AMPRIONState.js +21 -21
  77. package/dist/model/extensions/amprion/assets/AMPRIONTower.js +51 -51
  78. package/dist/model/extensions/amprion/assets/AMPRIONWire.js +68 -68
  79. package/dist/model/extensions/amprion/core/AMPRIONBay.js +26 -26
  80. package/dist/model/extensions/amprion/core/AMPRIONSubstation.js +25 -25
  81. package/dist/model/extensions/amprion/model/AMPRIONModel.d.ts +0 -16
  82. package/dist/model/extensions/amprion/model/AMPRIONModel.js +0 -32
  83. package/dist/model/extensions/amprion/model/AMPRIONModel.js.map +1 -1
  84. package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js +1 -1
  85. package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerEndInfo.js +1 -1
  86. package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerInfo.js +1 -1
  87. package/dist/model/extensions/enervance/assetinfo/EVStationInfo.js +1 -1
  88. package/dist/model/extensions/enervance/assetinfo/EVTapChangerInfo.js +1 -1
  89. package/dist/model/extensions/enervance/assetinfo/EVWireInfo.js +38 -38
  90. package/dist/model/extensions/enervance/assets/EVWireObject.js +1 -1
  91. package/dist/model/extensions/enervance/model/EVModel.d.ts +2 -2
  92. package/dist/model/extensions/enervance/model/EVModel.js +1 -1
  93. package/dist/model/extensions/enervance/model/EVModel.js.map +1 -1
  94. package/dist/model/extensions/enervance/wires/EVACLineSegment.js +1 -1
  95. package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js +32 -32
  96. package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js +33 -33
  97. package/dist/model/extensions/neplan-westnetz/assets/WNWireInfo.js +40 -40
  98. package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js +31 -31
  99. package/dist/model/extensions/neplan-westnetz/core/WNFeeder.js +34 -34
  100. package/dist/model/extensions/neplan-westnetz/wires/WNACLineSegment.js +1 -1
  101. package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.js +1 -1
  102. package/dist/model/generation/GeneratingUnit.js +36 -36
  103. package/dist/model/generation/WindGeneratingUnit.js +38 -38
  104. package/dist/model/loadmodel/ConformLoad.js +33 -33
  105. package/dist/model/loadmodel/ConformLoadGroup.js +22 -22
  106. package/dist/model/loadmodel/LoadArea.js +21 -21
  107. package/dist/model/loadmodel/SubLoadArea.js +22 -22
  108. package/dist/model/model/Model.d.ts +1 -6
  109. package/dist/model/model/Model.js +0 -12
  110. package/dist/model/model/Model.js.map +1 -1
  111. package/dist/model/model-operations/ModelOperationDescription.d.ts +1 -5
  112. package/dist/model/model-operations/ModelOperationDescription.js +1 -36
  113. package/dist/model/model-operations/ModelOperationDescription.js.map +1 -1
  114. package/dist/model/operationallimits/CurrentLimit.js +19 -19
  115. package/dist/model/operationallimits/OperationalLimitSet.js +18 -18
  116. package/dist/model/operationallimits/OperationalLimitType.js +16 -16
  117. package/dist/model/statevariables/SvPowerFlow.js +20 -20
  118. package/dist/model/statevariables/SvVoltage.js +1 -1
  119. package/dist/model/topology/TopologicalIsland.js +1 -1
  120. package/dist/model/topology/TopologicalNode.js +25 -25
  121. package/dist/model/wires/Breaker.js +34 -34
  122. package/dist/model/wires/BusbarSection.js +1 -1
  123. package/dist/model/wires/Clamp.js +1 -1
  124. package/dist/model/wires/Disconnector.js +31 -31
  125. package/dist/model/wires/EnergyConsumer.js +32 -32
  126. package/dist/model/wires/ExternalNetworkInjection.js +45 -45
  127. package/dist/model/wires/Ground.js +1 -1
  128. package/dist/model/wires/GroundDisconnector.js +1 -1
  129. package/dist/model/wires/Junction.js +20 -20
  130. package/dist/model/wires/Line.js +23 -23
  131. package/dist/model/wires/LinearShuntCompensator.js +36 -36
  132. package/dist/model/wires/LoadBreakSwitch.js +1 -1
  133. package/dist/model/wires/PetersenCoil.js +34 -34
  134. package/dist/model/wires/PowerTransformer.js +27 -27
  135. package/dist/model/wires/PowerTransformerEnd.js +31 -31
  136. package/dist/model/wires/Recloser.js +1 -1
  137. package/dist/model/wires/RegulatingControl.js +31 -31
  138. package/dist/model/wires/SeriesCompensator.js +36 -36
  139. package/dist/model/wires/Switch.js +32 -32
  140. package/dist/model/wires/SynchronousMachine.js +1 -1
  141. package/dist/package.json +16 -16
  142. package/dist/util/cim.model.util.js +4 -4
  143. package/dist/util/cim.model.util.js.map +1 -1
  144. package/package.json +94 -94
  145. package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.d.ts +0 -8
  146. package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js +0 -45
  147. package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js.map +0 -1
  148. package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.d.ts +0 -8
  149. package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js +0 -45
  150. package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js.map +0 -1
  151. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.d.ts +0 -8
  152. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js +0 -45
  153. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js.map +0 -1
  154. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.d.ts +0 -8
  155. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js +0 -45
  156. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js.map +0 -1
@@ -72,36 +72,36 @@ class Disconnector extends Switch_1.Switch {
72
72
  }
73
73
  }
74
74
  exports.Disconnector = Disconnector;
75
- Disconnector.sparqlQuery = `
76
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
77
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
78
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
79
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
80
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
81
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
82
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
83
-
84
- SELECT (strafter(strafter(str(?dUUID), '#'), '_') AS ?uuid)
85
- (CONCAT(STRBEFORE(STR(?dUUID), '#_'), '#_') AS ?baseIRI)
86
- ?name ?shortName ?description
87
- ?open ?aggregate ?normalOpen ?retained (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
88
- (group_concat(STRAFTER(str(?aecUUIDs), '#_');separator=',') as ?additionalEquipmentContainerUUIDs)
89
-
90
- WHERE {
91
- GRAPH <http://default/>{
92
- ?dUUID rdf:type cim:Disconnector .
93
- OPTIONAL{?dUUID cim:IdentifiedObject.name ?name .}
94
- OPTIONAL{?dUUID entsoe:IdentifiedObject.shortName ?shortName .}
95
- OPTIONAL{?dUUID cim:IdentifiedObject.description ?description .}
96
- OPTIONAL{?dUUID cim:Equipment.aggregate ?aggregate .}
97
- OPTIONAL{?dUUID cim:Switch.normalOpen ?normalOpen .}
98
- OPTIONAL{?dUUID cim:Switch.retained ?retained .}
99
- OPTIONAL{?dUUID cim:Switch.open ?open .}
100
- OPTIONAL{?dUUID cim:Equipment.EquipmentContainer ?ecUUID .}
101
- OPTIONAL{?dUUID cim:Equipment.AdditionalEquipmentContainer ?aecUUIDs .}
102
- }
103
- }
104
- GROUP BY ?dUUID ?baseIRI ?name ?shortName ?description
105
- ?open ?aggregate ?normalOpen ?retained ?ecUUID
75
+ Disconnector.sparqlQuery = `
76
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
77
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
78
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
79
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
80
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
81
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
82
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
83
+
84
+ SELECT (strafter(strafter(str(?dUUID), '#'), '_') AS ?uuid)
85
+ (CONCAT(STRBEFORE(STR(?dUUID), '#_'), '#_') AS ?baseIRI)
86
+ ?name ?shortName ?description
87
+ ?open ?aggregate ?normalOpen ?retained (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
88
+ (group_concat(STRAFTER(str(?aecUUIDs), '#_');separator=',') as ?additionalEquipmentContainerUUIDs)
89
+
90
+ WHERE {
91
+ GRAPH <http://default/>{
92
+ ?dUUID rdf:type cim:Disconnector .
93
+ OPTIONAL{?dUUID cim:IdentifiedObject.name ?name .}
94
+ OPTIONAL{?dUUID entsoe:IdentifiedObject.shortName ?shortName .}
95
+ OPTIONAL{?dUUID cim:IdentifiedObject.description ?description .}
96
+ OPTIONAL{?dUUID cim:Equipment.aggregate ?aggregate .}
97
+ OPTIONAL{?dUUID cim:Switch.normalOpen ?normalOpen .}
98
+ OPTIONAL{?dUUID cim:Switch.retained ?retained .}
99
+ OPTIONAL{?dUUID cim:Switch.open ?open .}
100
+ OPTIONAL{?dUUID cim:Equipment.EquipmentContainer ?ecUUID .}
101
+ OPTIONAL{?dUUID cim:Equipment.AdditionalEquipmentContainer ?aecUUIDs .}
102
+ }
103
+ }
104
+ GROUP BY ?dUUID ?baseIRI ?name ?shortName ?description
105
+ ?open ?aggregate ?normalOpen ?retained ?ecUUID
106
106
  `;
107
107
  //# sourceMappingURL=Disconnector.js.map
@@ -202,37 +202,37 @@ class EnergyConsumer extends EnergyConnection_1.EnergyConnection {
202
202
  }
203
203
  }
204
204
  exports.EnergyConsumer = EnergyConsumer;
205
- EnergyConsumer.sparqlQuery = `
206
- ${sparql_building_block_1.NS_PREFIX_CIM}
207
- ${sparql_building_block_1.NS_PREFIX_ENERVANCE}
208
- ${sparql_building_block_1.NS_PREFIX_ENTSOE}
209
- ${sparql_building_block_1.NS_PREFIX_RDF}
210
- ${sparql_building_block_1.NS_PREFIX_RDF}
211
- ${sparql_building_block_1.NS_PREFIX_ENTSOE}
212
- ${sparql_building_block_1.NS_PREFIX_APF}
213
- ${sparql_building_block_1.NS_PREFIX_AFN}
214
-
215
- SELECT (strafter(strafter(str(?econUUID), '#'), '_') AS ?uuid)
216
- (CONCAT(STRBEFORE(STR(?econUUID), '#_'), '#_') AS ?baseIRI)
217
- ?name ?shortName ?description ?aggregate ?p ?q
218
- (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
219
- (strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
220
- (group_concat(STRAFTER(str(?aecUUIDs), '#_');separator=',') as ?additionalEquipmentContainerUUIDs)
221
- WHERE {
222
- GRAPH <http://default/>{
223
- ?econUUID rdf:type cim:EnergyConsumer .
224
- OPTIONAL{?econUUID cim:IdentifiedObject.name ?name .}
225
- OPTIONAL{?econUUID entsoe:IdentifiedObject.shortName ?shortName .}
226
- OPTIONAL{?econUUID cim:IdentifiedObject.description ?description .}
227
- OPTIONAL{?econUUID cim:EnergyConsumer.p ?p .}
228
- OPTIONAL{?econUUID cim:EnergyConsumer.q ?q .}
229
-
230
- OPTIONAL{?econUUID cim:Equipment.aggregate ?aggregate .}
231
- OPTIONAL{?econUUID cim:Equipment.EquipmentContainer ?ecUUID .}
232
- OPTIONAL{?econUUID cim:PowerSystemResource.PSRType ?ptUUID .}
233
- OPTIONAL{?econUUID cim:Equipment.AdditionalEquipmentContainer ?aecUUIDs .}
234
- }
235
- }
236
- GROUP BY ?econUUID ?baseIRI ?name ?shortName ?description ?aggregate ?p ?q ?ecUUID ?ptUUID
205
+ EnergyConsumer.sparqlQuery = `
206
+ ${sparql_building_block_1.NS_PREFIX_CIM}
207
+ ${sparql_building_block_1.NS_PREFIX_ENERVANCE}
208
+ ${sparql_building_block_1.NS_PREFIX_ENTSOE}
209
+ ${sparql_building_block_1.NS_PREFIX_RDF}
210
+ ${sparql_building_block_1.NS_PREFIX_RDF}
211
+ ${sparql_building_block_1.NS_PREFIX_ENTSOE}
212
+ ${sparql_building_block_1.NS_PREFIX_APF}
213
+ ${sparql_building_block_1.NS_PREFIX_AFN}
214
+
215
+ SELECT (strafter(strafter(str(?econUUID), '#'), '_') AS ?uuid)
216
+ (CONCAT(STRBEFORE(STR(?econUUID), '#_'), '#_') AS ?baseIRI)
217
+ ?name ?shortName ?description ?aggregate ?p ?q
218
+ (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
219
+ (strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
220
+ (group_concat(STRAFTER(str(?aecUUIDs), '#_');separator=',') as ?additionalEquipmentContainerUUIDs)
221
+ WHERE {
222
+ GRAPH <http://default/>{
223
+ ?econUUID rdf:type cim:EnergyConsumer .
224
+ OPTIONAL{?econUUID cim:IdentifiedObject.name ?name .}
225
+ OPTIONAL{?econUUID entsoe:IdentifiedObject.shortName ?shortName .}
226
+ OPTIONAL{?econUUID cim:IdentifiedObject.description ?description .}
227
+ OPTIONAL{?econUUID cim:EnergyConsumer.p ?p .}
228
+ OPTIONAL{?econUUID cim:EnergyConsumer.q ?q .}
229
+
230
+ OPTIONAL{?econUUID cim:Equipment.aggregate ?aggregate .}
231
+ OPTIONAL{?econUUID cim:Equipment.EquipmentContainer ?ecUUID .}
232
+ OPTIONAL{?econUUID cim:PowerSystemResource.PSRType ?ptUUID .}
233
+ OPTIONAL{?econUUID cim:Equipment.AdditionalEquipmentContainer ?aecUUIDs .}
234
+ }
235
+ }
236
+ GROUP BY ?econUUID ?baseIRI ?name ?shortName ?description ?aggregate ?p ?q ?ecUUID ?ptUUID
237
237
  `;
238
238
  //# sourceMappingURL=EnergyConsumer.js.map
@@ -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