@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
@@ -70,9 +70,9 @@ class EVWireInfo extends WireInfo_1.WireInfo {
70
70
  this.insulation = utils_1.getValue(value, 'insulation');
71
71
  }
72
72
  createNewStatementSPARQL() {
73
- return `
74
- <${this.baseIRI}${this.mrid}>
75
- a cim:WireInfo ;
73
+ return `
74
+ <${this.baseIRI}${this.mrid}>
75
+ a cim:WireInfo ;
76
76
  cim:IdentifiedObject.name '${this.name}' .`;
77
77
  }
78
78
  setR1(r) {
@@ -89,40 +89,40 @@ class EVWireInfo extends WireInfo_1.WireInfo {
89
89
  }
90
90
  }
91
91
  exports.EVWireInfo = EVWireInfo;
92
- EVWireInfo.sparqlQuery = `
93
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
94
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
95
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
96
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
97
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
98
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
99
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
100
-
101
- SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
102
- (CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
103
- ?name ?r0 ?x0 ?c0 ?r1 ?x1 ?c1 ?b ?g ?sizeDescription ?strandCount
104
- ?ratedCurrent ?voltage ?type ?failureProbability ?insulation
105
- WHERE {
106
- GRAPH <http://default/>{
107
- ?MRID rdf:type cim:WireInfo .
108
- OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
109
- OPTIONAL {?MRID cim:WireInfo.ratedCurrent ?ratedCurrent .}
110
- OPTIONAL {?MRID cim:WireInfo.sizeDescription ?sizeDescription .}
111
- OPTIONAL {?MRID enervance:EVWireInfo.r0 ?r0 .}
112
- OPTIONAL {?MRID enervance:EVWireInfo.x0 ?x0 .}
113
- OPTIONAL {?MRID enervance:EVWireInfo.c0 ?c0 .}
114
- OPTIONAL {?MRID enervance:EVWireInfo.r1 ?r1 .}
115
- OPTIONAL {?MRID enervance:EVWireInfo.x1 ?x1 .}
116
- OPTIONAL {?MRID enervance:EVWireInfo.c1 ?c1 .}
117
- OPTIONAL {?MRID enervance:EVWireInfo.b ?b .}
118
- OPTIONAL {?MRID enervance:EVWireInfo.g ?g .}
119
-
120
- OPTIONAL {?MRID enervance:EVWireInfo.strandCount ?strandCount .}
121
- OPTIONAL {?MRID enervance:EVWireInfo.voltage ?voltage .}
122
- OPTIONAL {?MRID enervance:EVWireInfo.type ?type .}
123
- OPTIONAL {?MRID enervance:EVWireInfo.failureProbability ?failureProbability .}
124
- OPTIONAL {?MRID enervance:EVWireInfo.insulation ?insulation .}
125
- }
126
- }
92
+ EVWireInfo.sparqlQuery = `
93
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
94
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
95
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
96
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
97
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
98
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
99
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
100
+
101
+ SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
102
+ (CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
103
+ ?name ?r0 ?x0 ?c0 ?r1 ?x1 ?c1 ?b ?g ?sizeDescription ?strandCount
104
+ ?ratedCurrent ?voltage ?type ?failureProbability ?insulation
105
+ WHERE {
106
+ GRAPH <http://default/>{
107
+ ?MRID rdf:type cim:WireInfo .
108
+ OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
109
+ OPTIONAL {?MRID cim:WireInfo.ratedCurrent ?ratedCurrent .}
110
+ OPTIONAL {?MRID cim:WireInfo.sizeDescription ?sizeDescription .}
111
+ OPTIONAL {?MRID enervance:EVWireInfo.r0 ?r0 .}
112
+ OPTIONAL {?MRID enervance:EVWireInfo.x0 ?x0 .}
113
+ OPTIONAL {?MRID enervance:EVWireInfo.c0 ?c0 .}
114
+ OPTIONAL {?MRID enervance:EVWireInfo.r1 ?r1 .}
115
+ OPTIONAL {?MRID enervance:EVWireInfo.x1 ?x1 .}
116
+ OPTIONAL {?MRID enervance:EVWireInfo.c1 ?c1 .}
117
+ OPTIONAL {?MRID enervance:EVWireInfo.b ?b .}
118
+ OPTIONAL {?MRID enervance:EVWireInfo.g ?g .}
119
+
120
+ OPTIONAL {?MRID enervance:EVWireInfo.strandCount ?strandCount .}
121
+ OPTIONAL {?MRID enervance:EVWireInfo.voltage ?voltage .}
122
+ OPTIONAL {?MRID enervance:EVWireInfo.type ?type .}
123
+ OPTIONAL {?MRID enervance:EVWireInfo.failureProbability ?failureProbability .}
124
+ OPTIONAL {?MRID enervance:EVWireInfo.insulation ?insulation .}
125
+ }
126
+ }
127
127
  `;
128
128
  //# sourceMappingURL=EVWireInfo.js.map
@@ -179,7 +179,7 @@ EVWireObject.sparqlQuery = `
179
179
  PREFIX enervance: <http://enervance.com/CIM/Extensions#>
180
180
  PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
181
181
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
182
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
182
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
183
183
  PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
184
184
  PREFIX afn: <http://jena.apache.org/ARQ/function#>
185
185
 
@@ -61,7 +61,7 @@ EVACLineSegment.sparqlQuery = `
61
61
  PREFIX enervance: <http://enervance.com/CIM/Extensions#>
62
62
  PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
63
63
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
64
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
64
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
65
65
  PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
66
66
  PREFIX afn: <http://jena.apache.org/ARQ/function#>
67
67
 
@@ -91,41 +91,41 @@ class EVACLineSubSegment extends ACLineSegment_1.ACLineSegment {
91
91
  return this.getAssociationSparqlTriple(this.baseIRI, this.mrid, 'enervance', 'EVACLineSubSegment', 'LineSegment', lineSegment.mrid);
92
92
  }
93
93
  createNewStatementSPARQL() {
94
- return `
95
- <${this.baseIRI}${this.mrid}>
96
- a enervance:EVACLineSubSegment ;
94
+ return `
95
+ <${this.baseIRI}${this.mrid}>
96
+ a enervance:EVACLineSubSegment ;
97
97
  cim:IdentifiedObject.name '${this.name}' .`;
98
98
  }
99
99
  }
100
100
  exports.EVACLineSubSegment = EVACLineSubSegment;
101
- EVACLineSubSegment.sparqlQuery = `
102
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
103
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
104
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
105
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
106
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
107
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
108
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
109
-
110
- SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
111
- (CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
112
- ?name ?shortName ?description ?length ?number ?r ?x ?maxRatedCurrent
113
- (strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
114
- (strafter(strafter(str(?lsUUID), '#'), '_') AS ?lineSegmentUUID)
115
- WHERE {
116
- GRAPH <http://default/>{
117
- ?MRID rdf:type enervance:EVACLineSubSegment .
118
- OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
119
- OPTIONAL {?MRID entsoe:IdentifiedObject.shortName ?shortName .}
120
- OPTIONAL {?MRID cim:IdentifiedObject.description ?description .}
121
- OPTIONAL {?MRID cim:Conductor.length ?length .}
122
- OPTIONAL {?MRID cim:ACLineSegment.r ?r .}
123
- OPTIONAL {?MRID cim:ACLineSegment.x ?x .}
124
- OPTIONAL {?MRID enervance:EVACLineSubSegment.number ?number .}
125
- OPTIONAL {?MRID enervance:EVACLineSubSegment.maxRatedCurrent ?maxRatedCurrent .}
126
- OPTIONAL {?MRID cim:PowerSystemResource.PSRType ?ptUUID .}
127
- OPTIONAL {?MRID enervance:EVACLineSubSegment.LineSegment ?lsUUID .}
128
- }
129
- }
101
+ EVACLineSubSegment.sparqlQuery = `
102
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
103
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
104
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
105
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
106
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
107
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
108
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
109
+
110
+ SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
111
+ (CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
112
+ ?name ?shortName ?description ?length ?number ?r ?x ?maxRatedCurrent
113
+ (strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
114
+ (strafter(strafter(str(?lsUUID), '#'), '_') AS ?lineSegmentUUID)
115
+ WHERE {
116
+ GRAPH <http://default/>{
117
+ ?MRID rdf:type enervance:EVACLineSubSegment .
118
+ OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
119
+ OPTIONAL {?MRID entsoe:IdentifiedObject.shortName ?shortName .}
120
+ OPTIONAL {?MRID cim:IdentifiedObject.description ?description .}
121
+ OPTIONAL {?MRID cim:Conductor.length ?length .}
122
+ OPTIONAL {?MRID cim:ACLineSegment.r ?r .}
123
+ OPTIONAL {?MRID cim:ACLineSegment.x ?x .}
124
+ OPTIONAL {?MRID enervance:EVACLineSubSegment.number ?number .}
125
+ OPTIONAL {?MRID enervance:EVACLineSubSegment.maxRatedCurrent ?maxRatedCurrent .}
126
+ OPTIONAL {?MRID cim:PowerSystemResource.PSRType ?ptUUID .}
127
+ OPTIONAL {?MRID enervance:EVACLineSubSegment.LineSegment ?lsUUID .}
128
+ }
129
+ }
130
130
  `;
131
131
  //# sourceMappingURL=EVACLineSubSegment.js.map
@@ -42,10 +42,10 @@ class WNFacility extends Facility_1.Facility {
42
42
  return WNFacility.sparqlQuery;
43
43
  }
44
44
  createNewStatementSPARQL() {
45
- return `
46
- <${this.baseIRI}${this.mrid}>
47
- a cim:Facility ;
48
- cim:IdentifiedObject.name "Facility" .
45
+ return `
46
+ <${this.baseIRI}${this.mrid}>
47
+ a cim:Facility ;
48
+ cim:IdentifiedObject.name "Facility" .
49
49
  `;
50
50
  }
51
51
  deleteConnectivityNode(icn) {
@@ -104,34 +104,34 @@ class WNFacility extends Facility_1.Facility {
104
104
  }
105
105
  }
106
106
  exports.WNFacility = WNFacility;
107
- WNFacility.sparqlQuery = `
108
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
109
- PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
110
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
111
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
112
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
113
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
114
-
115
- SELECT (STRAFTER(str(?fUUID), '#_') AS ?uuid)
116
- (CONCAT(STRBEFORE(str(?fUUID), '#_'), '#_') AS ?baseIRI)
117
- ?name ?type ?kind ?installationDate
118
- (strafter(strafter(str(?aiUUID), '#'), '_') AS ?assetInfoUUID)
119
- (strafter(strafter(str(?acUUID), '#'), '_') AS ?assetContainerUUID)
120
- (group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
121
- (group_concat(STRAFTER(str(?cnUUIDs), '#_');separator=',') as ?connectivityNodeUUIDs)
122
-
123
- WHERE {
124
- GRAPH <http://default/>{
125
- ?fUUID rdf:type cim:Facility .
126
- OPTIONAL {?fUUID cim:IdentifiedObject.name ?name .}
127
- OPTIONAL {?fUUID cim:Facility.kind ?kind .}
128
- OPTIONAL {?fUUID cim:Asset.type ?type .}
129
- OPTIONAL {?fUUID cim:Asset.lifecycleDate [ cim:LifecycleDate.installationDate ?installationDate ] .}
130
- OPTIONAL {?fUUID cim:Asset.AssetInfo ?aiUUID .}
131
- OPTIONAL {?fUUID cim:Asset.AssetContainer ?acUUID .}
132
- OPTIONAL {?fUUID cim:Asset.PowerSystemResources ?psrUUIDs . }
133
- OPTIONAL {?fUUID westnetzneplan:WNFacility.ConnectivityNodes ?cnUUIDs .}
134
- }
135
- }
107
+ WNFacility.sparqlQuery = `
108
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
109
+ PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
110
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
111
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
112
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
113
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
114
+
115
+ SELECT (STRAFTER(str(?fUUID), '#_') AS ?uuid)
116
+ (CONCAT(STRBEFORE(str(?fUUID), '#_'), '#_') AS ?baseIRI)
117
+ ?name ?type ?kind ?installationDate
118
+ (strafter(strafter(str(?aiUUID), '#'), '_') AS ?assetInfoUUID)
119
+ (strafter(strafter(str(?acUUID), '#'), '_') AS ?assetContainerUUID)
120
+ (group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
121
+ (group_concat(STRAFTER(str(?cnUUIDs), '#_');separator=',') as ?connectivityNodeUUIDs)
122
+
123
+ WHERE {
124
+ GRAPH <http://default/>{
125
+ ?fUUID rdf:type cim:Facility .
126
+ OPTIONAL {?fUUID cim:IdentifiedObject.name ?name .}
127
+ OPTIONAL {?fUUID cim:Facility.kind ?kind .}
128
+ OPTIONAL {?fUUID cim:Asset.type ?type .}
129
+ OPTIONAL {?fUUID cim:Asset.lifecycleDate [ cim:LifecycleDate.installationDate ?installationDate ] .}
130
+ OPTIONAL {?fUUID cim:Asset.AssetInfo ?aiUUID .}
131
+ OPTIONAL {?fUUID cim:Asset.AssetContainer ?acUUID .}
132
+ OPTIONAL {?fUUID cim:Asset.PowerSystemResources ?psrUUIDs . }
133
+ OPTIONAL {?fUUID westnetzneplan:WNFacility.ConnectivityNodes ?cnUUIDs .}
134
+ }
135
+ }
136
136
  GROUP BY ?fUUID ?baseIRI ?name ?type ?kind ?installationDate ?aiUUID ?acUUID `;
137
137
  //# sourceMappingURL=WNFacility.js.map
@@ -52,45 +52,45 @@ class WNWireInfo extends EVWireInfo_1.EVWireInfo {
52
52
  }
53
53
  }
54
54
  exports.WNWireInfo = WNWireInfo;
55
- WNWireInfo.sparqlQuery = `
56
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
57
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
58
- PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
59
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
60
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
61
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
62
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
63
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
64
-
65
- SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
66
- (CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
67
- ?name ?r0 ?x0 ?c0 ?r1 ?x1 ?c1 ?b ?g ?sizeDescription ?strandCount
68
- ?ratedCurrent ?voltage ?type ?failureProbability ?insulation
69
- ?issue ?category
70
- WHERE {
71
- GRAPH <http://default/>{
72
- ?MRID rdf:type cim:WireInfo .
73
- OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
74
- OPTIONAL {?MRID cim:WireInfo.ratedCurrent ?ratedCurrent .}
75
-
76
- OPTIONAL {?MRID enervance:EVWireInfo.r0 ?r0 .}
77
- OPTIONAL {?MRID enervance:EVWireInfo.x0 ?x0 .}
78
- OPTIONAL {?MRID enervance:EVWireInfo.c0 ?c0 .}
79
- OPTIONAL {?MRID enervance:EVWireInfo.r1 ?r1 .}
80
- OPTIONAL {?MRID enervance:EVWireInfo.x1 ?x1 .}
81
- OPTIONAL {?MRID enervance:EVWireInfo.c1 ?c1 .}
82
- OPTIONAL {?MRID enervance:EVWireInfo.b ?b .}
83
- OPTIONAL {?MRID enervance:EVWireInfo.g ?g .}
84
- OPTIONAL {?MRID cim:WireInfo.sizeDescription ?sizeDescription .}
85
- OPTIONAL {?MRID enervance:EVWireInfo.strandCount ?strandCount .}
86
- OPTIONAL {?MRID enervance:EVWireInfo.voltage ?voltage .}
87
- OPTIONAL {?MRID enervance:EVWireInfo.failureProbability ?failureProbability .}
88
- OPTIONAL {?MRID enervance:EVWireInfo.insulation ?insulation .}
89
- OPTIONAL {?MRID enervance:EVWireInfo.type ?type .}
90
-
91
- OPTIONAL {?MRID westnetzneplan:WNWireInfo.issue ?issue .}
92
- OPTIONAL {?MRID westnetzneplan:WNWireInfo.category ?category .}
93
- }
94
- }
55
+ WNWireInfo.sparqlQuery = `
56
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
57
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
58
+ PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
59
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
60
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
61
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
62
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
63
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
64
+
65
+ SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
66
+ (CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
67
+ ?name ?r0 ?x0 ?c0 ?r1 ?x1 ?c1 ?b ?g ?sizeDescription ?strandCount
68
+ ?ratedCurrent ?voltage ?type ?failureProbability ?insulation
69
+ ?issue ?category
70
+ WHERE {
71
+ GRAPH <http://default/>{
72
+ ?MRID rdf:type cim:WireInfo .
73
+ OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
74
+ OPTIONAL {?MRID cim:WireInfo.ratedCurrent ?ratedCurrent .}
75
+
76
+ OPTIONAL {?MRID enervance:EVWireInfo.r0 ?r0 .}
77
+ OPTIONAL {?MRID enervance:EVWireInfo.x0 ?x0 .}
78
+ OPTIONAL {?MRID enervance:EVWireInfo.c0 ?c0 .}
79
+ OPTIONAL {?MRID enervance:EVWireInfo.r1 ?r1 .}
80
+ OPTIONAL {?MRID enervance:EVWireInfo.x1 ?x1 .}
81
+ OPTIONAL {?MRID enervance:EVWireInfo.c1 ?c1 .}
82
+ OPTIONAL {?MRID enervance:EVWireInfo.b ?b .}
83
+ OPTIONAL {?MRID enervance:EVWireInfo.g ?g .}
84
+ OPTIONAL {?MRID cim:WireInfo.sizeDescription ?sizeDescription .}
85
+ OPTIONAL {?MRID enervance:EVWireInfo.strandCount ?strandCount .}
86
+ OPTIONAL {?MRID enervance:EVWireInfo.voltage ?voltage .}
87
+ OPTIONAL {?MRID enervance:EVWireInfo.failureProbability ?failureProbability .}
88
+ OPTIONAL {?MRID enervance:EVWireInfo.insulation ?insulation .}
89
+ OPTIONAL {?MRID enervance:EVWireInfo.type ?type .}
90
+
91
+ OPTIONAL {?MRID westnetzneplan:WNWireInfo.issue ?issue .}
92
+ OPTIONAL {?MRID westnetzneplan:WNWireInfo.category ?category .}
93
+ }
94
+ }
95
95
  `;
96
96
  //# sourceMappingURL=WNWireInfo.js.map
@@ -407,36 +407,36 @@ class WNConnectivityNode extends ConnectivityNode_1.ConnectivityNode {
407
407
  }
408
408
  }
409
409
  exports.WNConnectivityNode = WNConnectivityNode;
410
- WNConnectivityNode.sparqlQuery = `
411
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
412
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
413
- PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
414
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
415
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
416
- PREFIX amp: <http://amprion.net/Extensions#>
417
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
418
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
419
-
420
- SELECT (STRAFTER(str(?MRID), '#_') AS ?uuid)
421
- (CONCAT(STRBEFORE(str(?MRID), '#_'), '#_') AS ?baseIRI)
422
- ?name ?shortName ?description ?insulation
423
- (strafter(strafter(str(?switchableEnum), '#'), '.') AS ?switchable)
424
- (STRAFTER(str(?cncUUID), '#_') AS ?connectivityNodeContainerUUID)
425
- (STRAFTER(str(?acncUUID), '#_') AS ?additionalConnectivityNodeContainerUUID)
426
-
427
- WHERE {
428
- GRAPH <http://default/>{
429
- ?MRID rdf:type cim:ConnectivityNode .
430
- OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
431
- OPTIONAL {?MRID entsoe:IdentifiedObject.shortName ?shortName .}
432
- OPTIONAL {?MRID cim:IdentifiedObject.description ?description .}
433
- OPTIONAL {?MRID westnetzneplan:WNConnectivityNode.switchable ?switchableEnum .}
434
-
435
- OPTIONAL {?MRID westnetzneplan:WNConnectivityNode.insulation ?insulation .}
436
-
437
- OPTIONAL {?MRID cim:ConnectivityNode.ConnectivityNodeContainer ?cncUUID .}
438
- OPTIONAL {?MRID westnetzneplan:WNConnectivityNode.AdditionalConnectivityNodeContainer ?acncUUID .}
439
- }
440
- }
410
+ WNConnectivityNode.sparqlQuery = `
411
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
412
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
413
+ PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
414
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
415
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
416
+ PREFIX amp: <http://amprion.net/Extensions#>
417
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
418
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
419
+
420
+ SELECT (STRAFTER(str(?MRID), '#_') AS ?uuid)
421
+ (CONCAT(STRBEFORE(str(?MRID), '#_'), '#_') AS ?baseIRI)
422
+ ?name ?shortName ?description ?insulation
423
+ (strafter(strafter(str(?switchableEnum), '#'), '.') AS ?switchable)
424
+ (STRAFTER(str(?cncUUID), '#_') AS ?connectivityNodeContainerUUID)
425
+ (STRAFTER(str(?acncUUID), '#_') AS ?additionalConnectivityNodeContainerUUID)
426
+
427
+ WHERE {
428
+ GRAPH <http://default/>{
429
+ ?MRID rdf:type cim:ConnectivityNode .
430
+ OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
431
+ OPTIONAL {?MRID entsoe:IdentifiedObject.shortName ?shortName .}
432
+ OPTIONAL {?MRID cim:IdentifiedObject.description ?description .}
433
+ OPTIONAL {?MRID westnetzneplan:WNConnectivityNode.switchable ?switchableEnum .}
434
+
435
+ OPTIONAL {?MRID westnetzneplan:WNConnectivityNode.insulation ?insulation .}
436
+
437
+ OPTIONAL {?MRID cim:ConnectivityNode.ConnectivityNodeContainer ?cncUUID .}
438
+ OPTIONAL {?MRID westnetzneplan:WNConnectivityNode.AdditionalConnectivityNodeContainer ?acncUUID .}
439
+ }
440
+ }
441
441
  `;
442
442
  //# sourceMappingURL=WNConnectivityNode.js.map
@@ -135,10 +135,10 @@ class WNFeeder extends Feeder_1.Feeder {
135
135
  return WNFeeder.sparqlQuery;
136
136
  }
137
137
  createNewStatementSPARQL() {
138
- return `
139
- <${this.baseIRI}${this.mrid}>
140
- a cim:Feeder ;
141
- cim:IdentifiedObject.name '${this.name}' .
138
+ return `
139
+ <${this.baseIRI}${this.mrid}>
140
+ a cim:Feeder ;
141
+ cim:IdentifiedObject.name '${this.name}' .
142
142
  `;
143
143
  }
144
144
  getHeadConductingEquipment() {
@@ -153,35 +153,35 @@ class WNFeeder extends Feeder_1.Feeder {
153
153
  }
154
154
  }
155
155
  exports.WNFeeder = WNFeeder;
156
- WNFeeder.sparqlQuery = `
157
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
158
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
159
- PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
160
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
161
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
162
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
163
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
164
-
165
- SELECT (strafter(strafter(str(?fUUID), "#"), "_") AS ?uuid)
166
- (CONCAT(STRBEFORE(str(?fUUID), '#_'), '#_') AS ?baseIRI)
167
- ?name ?shortName ?description ?number ?current ?p ?q
168
- (STRAFTER(str(?negsUUID), '#_') AS ?normalEnergizingSubstationUUID)
169
- (group_concat(STRAFTER(str(?nedsUUIDs), '#_');separator=',') as ?energizedSubstationUUIDs)
170
- WHERE {
171
- GRAPH <http://default/>{
172
-
173
- ?fUUID rdf:type cim:Feeder .
174
- OPTIONAL{?fUUID cim:IdentifiedObject.name ?name .}
175
- OPTIONAL{?fUUID entsoe:IdentifiedObject.shortName ?shortName .}
176
- OPTIONAL{?fUUID cim:IdentifiedObject.description ?description .}
177
- OPTIONAL{?fUUID westnetzneplan:WNFeeder.number ?number .}
178
- OPTIONAL{?fUUID westnetzneplan:WNFeeder.current ?current .}
179
- OPTIONAL{?fUUID westnetzneplan:WNFeeder.p ?p .}
180
- OPTIONAL{?fUUID westnetzneplan:WNFeeder.q ?q .}
181
- OPTIONAL{?fUUID cim:Feeder.NormalEnergizingSubstation ?negsUUID .}
182
- OPTIONAL{?fUUID cim:Feeder.NormalEnergizedSubstation ?nedsUUIDs . }
183
- }
184
- }
185
- GROUP BY ?fUUID ?baseIRI ?name ?shortName ?description ?number ?current ?p ?q ?negsUUID
156
+ WNFeeder.sparqlQuery = `
157
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
158
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
159
+ PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
160
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
161
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
162
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
163
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
164
+
165
+ SELECT (strafter(strafter(str(?fUUID), "#"), "_") AS ?uuid)
166
+ (CONCAT(STRBEFORE(str(?fUUID), '#_'), '#_') AS ?baseIRI)
167
+ ?name ?shortName ?description ?number ?current ?p ?q
168
+ (STRAFTER(str(?negsUUID), '#_') AS ?normalEnergizingSubstationUUID)
169
+ (group_concat(STRAFTER(str(?nedsUUIDs), '#_');separator=',') as ?energizedSubstationUUIDs)
170
+ WHERE {
171
+ GRAPH <http://default/>{
172
+
173
+ ?fUUID rdf:type cim:Feeder .
174
+ OPTIONAL{?fUUID cim:IdentifiedObject.name ?name .}
175
+ OPTIONAL{?fUUID entsoe:IdentifiedObject.shortName ?shortName .}
176
+ OPTIONAL{?fUUID cim:IdentifiedObject.description ?description .}
177
+ OPTIONAL{?fUUID westnetzneplan:WNFeeder.number ?number .}
178
+ OPTIONAL{?fUUID westnetzneplan:WNFeeder.current ?current .}
179
+ OPTIONAL{?fUUID westnetzneplan:WNFeeder.p ?p .}
180
+ OPTIONAL{?fUUID westnetzneplan:WNFeeder.q ?q .}
181
+ OPTIONAL{?fUUID cim:Feeder.NormalEnergizingSubstation ?negsUUID .}
182
+ OPTIONAL{?fUUID cim:Feeder.NormalEnergizedSubstation ?nedsUUIDs . }
183
+ }
184
+ }
185
+ GROUP BY ?fUUID ?baseIRI ?name ?shortName ?description ?number ?current ?p ?q ?negsUUID
186
186
  `;
187
187
  //# sourceMappingURL=WNFeeder.js.map
@@ -62,7 +62,7 @@ WNACLineSegment.sparqlQuery = `
62
62
  PREFIX enervance: <http://enervance.com/CIM/Extensions#>
63
63
  PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
64
64
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
65
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
65
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
66
66
  PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
67
67
  PREFIX afn: <http://jena.apache.org/ARQ/function#>
68
68
  PREFIX westnetzneplan: <${rdf_xml_1.RDF_XML.WESTNETZNEPLAN_NS}>
@@ -375,7 +375,7 @@ WNEnergyConsumer.sparqlQuery = `
375
375
  PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
376
376
  PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
377
377
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
378
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
378
+ PREFIX amp: <http://amprion.net/2018/cim_extensions#>
379
379
  PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
380
380
  PREFIX afn: <http://jena.apache.org/ARQ/function#>
381
381
 
@@ -97,41 +97,41 @@ class GeneratingUnit extends __1.Equipment {
97
97
  }
98
98
  }
99
99
  exports.GeneratingUnit = GeneratingUnit;
100
- GeneratingUnit.sparqlQuery = `
101
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
102
- PREFIX enervance: <http://enervance.com/CIM/Extensions#>
103
- PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
104
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
105
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
106
- PREFIX amp: <http://amprion.net/Extensions#>
107
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
108
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
109
-
110
- SELECT (STRAFTER(str(?MRID), '#_') AS ?uuid)
111
- (CONCAT(STRBEFORE(str(?MRID), '#_'), '#_') AS ?baseIRI)
112
- ?name ?shortName ?description
113
- ?governorSCD ?initialP ?nominalP ?normalPF
114
- ?maxOperatingP ?minOperatingP
115
- ?startupCost ?variableCost
116
- (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
117
-
118
- WHERE {
119
- GRAPH <http://default/>{
120
- ?MRID rdf:type cim:ConnectivityNode .
121
- OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
122
- OPTIONAL {?MRID entsoe:IdentifiedObject.shortName ?shortName .}
123
- OPTIONAL {?MRID cim:IdentifiedObject.description ?description .}
124
-
125
- OPTIONAL{?MRID cim:GeneratingUnit.governorSCD ?governorSCD .}
126
- OPTIONAL{?MRID cim:GeneratingUnit.initialP ?initialP .}
127
- OPTIONAL{?MRID cim:GeneratingUnit.nominalP ?nominalP .}
128
- OPTIONAL{?MRID cim:GeneratingUnit.normalPF ?normalPF .}
129
- OPTIONAL{?MRID cim:GeneratingUnit.maxOperatingP ?maxOperatingP .}
130
- OPTIONAL{?MRID cim:GeneratingUnit.minOperatingP ?minOperatingP .}
131
- OPTIONAL{?MRID cim:GeneratingUnit.startupCost ?startupCost .}
132
- OPTIONAL{?MRID cim:GeneratingUnit.variableCost ?variableCost .}
133
- OPTIONAL{?MRID cim:Equipment.EquipmentContainer ?ecUUID .}
134
- }
135
- }
100
+ GeneratingUnit.sparqlQuery = `
101
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
102
+ PREFIX enervance: <http://enervance.com/CIM/Extensions#>
103
+ PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
104
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
105
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
106
+ PREFIX amp: <http://amprion.net/Extensions#>
107
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
108
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
109
+
110
+ SELECT (STRAFTER(str(?MRID), '#_') AS ?uuid)
111
+ (CONCAT(STRBEFORE(str(?MRID), '#_'), '#_') AS ?baseIRI)
112
+ ?name ?shortName ?description
113
+ ?governorSCD ?initialP ?nominalP ?normalPF
114
+ ?maxOperatingP ?minOperatingP
115
+ ?startupCost ?variableCost
116
+ (strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
117
+
118
+ WHERE {
119
+ GRAPH <http://default/>{
120
+ ?MRID rdf:type cim:ConnectivityNode .
121
+ OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
122
+ OPTIONAL {?MRID entsoe:IdentifiedObject.shortName ?shortName .}
123
+ OPTIONAL {?MRID cim:IdentifiedObject.description ?description .}
124
+
125
+ OPTIONAL{?MRID cim:GeneratingUnit.governorSCD ?governorSCD .}
126
+ OPTIONAL{?MRID cim:GeneratingUnit.initialP ?initialP .}
127
+ OPTIONAL{?MRID cim:GeneratingUnit.nominalP ?nominalP .}
128
+ OPTIONAL{?MRID cim:GeneratingUnit.normalPF ?normalPF .}
129
+ OPTIONAL{?MRID cim:GeneratingUnit.maxOperatingP ?maxOperatingP .}
130
+ OPTIONAL{?MRID cim:GeneratingUnit.minOperatingP ?minOperatingP .}
131
+ OPTIONAL{?MRID cim:GeneratingUnit.startupCost ?startupCost .}
132
+ OPTIONAL{?MRID cim:GeneratingUnit.variableCost ?variableCost .}
133
+ OPTIONAL{?MRID cim:Equipment.EquipmentContainer ?ecUUID .}
134
+ }
135
+ }
136
136
  `;
137
137
  //# sourceMappingURL=GeneratingUnit.js.map