@enervance/insight-cim-model 0.0.58 → 0.0.60
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.
- package/dist/config/westnetz-neplan/neplan-load.config.js +0 -1
- package/dist/config/westnetz-neplan/neplan-load.config.js.map +1 -1
- package/dist/constants/cim-class-definition.js +0 -10
- package/dist/constants/cim-class-definition.js.map +1 -1
- package/dist/constants/cim-class-names.d.ts +0 -5
- package/dist/constants/cim-class-names.js +0 -5
- package/dist/constants/cim-class-names.js.map +1 -1
- package/dist/constants/cim.sourcesystem.d.ts +5 -6
- package/dist/constants/cim.sourcesystem.js +8 -9
- package/dist/constants/cim.sourcesystem.js.map +1 -1
- package/dist/converter/integral7/ConverterIntegral7.js +23 -23
- package/dist/converter/integral7/converter-i7.d.ts +3 -5
- package/dist/converter/integral7/converter-i7.js +482 -475
- package/dist/converter/integral7/converter-i7.js.map +1 -1
- package/dist/converter/integral7/interface-i7/data-structures-i7.d.ts +3 -2
- package/dist/converter/integral7/interface-i7/data-structures-i7.js.map +1 -1
- package/dist/converter/integral7/interface-i7/export-frame-i7.d.ts +3 -2
- package/dist/converter/integral7/interface-i7/export-frame-i7.js +15 -13
- package/dist/converter/integral7/interface-i7/export-frame-i7.js.map +1 -1
- package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.d.ts +4 -0
- package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.js +3 -0
- package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.js.map +1 -0
- package/dist/converter/integral7/model/dl-utils/util-functions.d.ts +13 -1
- package/dist/converter/integral7/model/dl-utils/util-functions.js +50 -6
- package/dist/converter/integral7/model/dl-utils/util-functions.js.map +1 -1
- package/dist/converter/integral7/model/interfaces.d.ts +0 -5
- package/dist/converter/integral7/model/interfaces.js.map +1 -1
- package/dist/converter/integral7/sql/integral.sql.d.ts +1 -87
- package/dist/converter/integral7/sql/integral.sql.js +8 -107
- package/dist/converter/integral7/sql/integral.sql.js.map +1 -1
- package/dist/converter/integral7/utils-cgmes-export.js +0 -22
- package/dist/converter/integral7/utils-cgmes-export.js.map +1 -1
- package/dist/converter/integral7/utils.js +2 -5
- package/dist/converter/integral7/utils.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan-csv.js +39 -39
- package/dist/etl/etl-neplan/etl-neplan-geo.js +16 -16
- package/dist/etl/etl-neplan/etl-neplan.js +17 -17
- package/dist/index.d.ts +2 -9
- package/dist/index.js +3 -17
- package/dist/index.js.map +1 -1
- package/dist/model/assetinfo/SwitchInfo.js +19 -19
- package/dist/model/assetinfo/TapChangerInfo.js +1 -1
- package/dist/model/assetinfo/WireInfo.js +3 -3
- package/dist/model/assets/Asset.js +30 -30
- package/dist/model/assets/AssetDeployment.js +48 -48
- package/dist/model/assets/AssetHealthEvent.js +1 -1
- package/dist/model/assets/AssetUser.js +1 -1
- package/dist/model/assets/Facility.js +37 -37
- package/dist/model/common/CoordinateSystem.js +17 -17
- package/dist/model/common/Location.js +22 -22
- package/dist/model/common/Organisation.js +1 -1
- package/dist/model/common/PositionPoint.js +25 -25
- package/dist/model/core/BaseVoltage.js +22 -22
- package/dist/model/core/ConnectivityNode.js +24 -24
- package/dist/model/core/Feeder.js +29 -29
- package/dist/model/core/IdentifiedObject.js +1 -1
- package/dist/model/core/IdentifiedObject.js.map +1 -1
- package/dist/model/core/PSRType.js +43 -43
- package/dist/model/core/Substation.js +1 -1
- package/dist/model/core/Terminal.js +31 -31
- package/dist/model/dc/DCLine.js +17 -17
- package/dist/model/dc/DCLineSegment.js +25 -25
- package/dist/model/diagram/Diagram.js +20 -20
- package/dist/model/diagram/DiagramObject.js +26 -26
- package/dist/model/diagram/DiagramObjectPoint.js +47 -47
- package/dist/model/equivalents/EquivalentBranch.js +44 -44
- package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js +23 -23
- package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js +23 -23
- package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js +23 -23
- package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js +23 -23
- package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js +23 -23
- package/dist/model/extensions/amprion/assets/AMPRIONCountry.js +19 -19
- package/dist/model/extensions/amprion/assets/AMPRIONFacility.js +60 -60
- package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.js +23 -23
- package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js +23 -23
- package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js +23 -23
- package/dist/model/extensions/amprion/assets/AMPRIONSpanField.js +49 -49
- package/dist/model/extensions/amprion/assets/AMPRIONState.js +21 -21
- package/dist/model/extensions/amprion/assets/AMPRIONTower.js +51 -51
- package/dist/model/extensions/amprion/assets/AMPRIONWire.js +68 -68
- package/dist/model/extensions/amprion/core/AMPRIONBay.js +26 -26
- package/dist/model/extensions/amprion/core/AMPRIONSubstation.js +25 -25
- package/dist/model/extensions/amprion/model/AMPRIONModel.d.ts +0 -16
- package/dist/model/extensions/amprion/model/AMPRIONModel.js +0 -32
- package/dist/model/extensions/amprion/model/AMPRIONModel.js.map +1 -1
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerEndInfo.js +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerInfo.js +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVStationInfo.js +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVTapChangerInfo.js +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVWireInfo.js +38 -38
- package/dist/model/extensions/enervance/assets/EVWireObject.js +1 -1
- package/dist/model/extensions/enervance/model/EVModel.d.ts +2 -2
- package/dist/model/extensions/enervance/model/EVModel.js +1 -1
- package/dist/model/extensions/enervance/model/EVModel.js.map +1 -1
- package/dist/model/extensions/enervance/wires/EVACLineSegment.js +1 -1
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js +32 -32
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js +33 -33
- package/dist/model/extensions/neplan-westnetz/assets/WNWireInfo.js +40 -40
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js +31 -31
- package/dist/model/extensions/neplan-westnetz/core/WNFeeder.js +34 -34
- package/dist/model/extensions/neplan-westnetz/wires/WNACLineSegment.js +1 -1
- package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.js +1 -1
- package/dist/model/generation/GeneratingUnit.js +36 -36
- package/dist/model/generation/WindGeneratingUnit.js +38 -38
- package/dist/model/loadmodel/ConformLoad.js +33 -33
- package/dist/model/loadmodel/ConformLoadGroup.js +22 -22
- package/dist/model/loadmodel/LoadArea.js +21 -21
- package/dist/model/loadmodel/SubLoadArea.js +22 -22
- package/dist/model/model/Model.d.ts +1 -6
- package/dist/model/model/Model.js +0 -12
- package/dist/model/model/Model.js.map +1 -1
- package/dist/model/model-operations/ModelOperationDescription.d.ts +1 -5
- package/dist/model/model-operations/ModelOperationDescription.js +1 -36
- package/dist/model/model-operations/ModelOperationDescription.js.map +1 -1
- package/dist/model/operationallimits/CurrentLimit.js +19 -19
- package/dist/model/operationallimits/OperationalLimitSet.js +18 -18
- package/dist/model/operationallimits/OperationalLimitType.js +16 -16
- package/dist/model/statevariables/SvPowerFlow.js +20 -20
- package/dist/model/statevariables/SvVoltage.js +1 -1
- package/dist/model/topology/TopologicalIsland.js +1 -1
- package/dist/model/topology/TopologicalNode.js +25 -25
- package/dist/model/wires/Breaker.js +34 -34
- package/dist/model/wires/BusbarSection.js +1 -1
- package/dist/model/wires/Clamp.js +1 -1
- package/dist/model/wires/Disconnector.js +31 -31
- package/dist/model/wires/EnergyConsumer.js +32 -32
- package/dist/model/wires/ExternalNetworkInjection.js +45 -45
- package/dist/model/wires/Ground.js +1 -1
- package/dist/model/wires/GroundDisconnector.js +1 -1
- package/dist/model/wires/Junction.js +20 -20
- package/dist/model/wires/Line.js +23 -23
- package/dist/model/wires/LinearShuntCompensator.js +36 -36
- package/dist/model/wires/LoadBreakSwitch.js +1 -1
- package/dist/model/wires/PetersenCoil.js +34 -34
- package/dist/model/wires/PowerTransformer.js +27 -27
- package/dist/model/wires/PowerTransformerEnd.js +31 -31
- package/dist/model/wires/Recloser.js +1 -1
- package/dist/model/wires/RegulatingControl.js +31 -31
- package/dist/model/wires/SeriesCompensator.js +36 -36
- package/dist/model/wires/Switch.js +32 -32
- package/dist/model/wires/SynchronousMachine.js +1 -1
- package/dist/package.json +16 -16
- package/dist/util/cim.model.util.js +4 -4
- package/dist/util/cim.model.util.js.map +1 -1
- package/package.json +94 -94
- package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.d.ts +0 -8
- package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js +0 -45
- package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js.map +0 -1
- package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.d.ts +0 -8
- package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js +0 -45
- package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js.map +0 -1
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.d.ts +0 -8
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js +0 -45
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js.map +0 -1
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.d.ts +0 -8
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js +0 -45
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js.map +0 -1
|
@@ -22,9 +22,9 @@ class WireInfo extends AssetInfo_1.AssetInfo {
|
|
|
22
22
|
this.ratedCurrent = +utils_1.getValue(value, 'ratedCurrent');
|
|
23
23
|
}
|
|
24
24
|
createNewStatementSPARQL() {
|
|
25
|
-
return `
|
|
26
|
-
<${this.baseIRI}${this.mrid}>
|
|
27
|
-
a cim:EVWireInfo ;
|
|
25
|
+
return `
|
|
26
|
+
<${this.baseIRI}${this.mrid}>
|
|
27
|
+
a cim:EVWireInfo ;
|
|
28
28
|
cim:IdentifiedObject.name '${this.name}' .`;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -193,39 +193,39 @@ class Asset extends __1.IdentifiedObject {
|
|
|
193
193
|
this.powerSystemResourcesUUIDs = [];
|
|
194
194
|
}
|
|
195
195
|
createNewStatementSPARQL() {
|
|
196
|
-
return `
|
|
197
|
-
<${this.baseIRI}${this.mrid}>
|
|
198
|
-
a cim:Asset ;
|
|
199
|
-
cim:IdentifiedObject.name "${this.name}" .
|
|
196
|
+
return `
|
|
197
|
+
<${this.baseIRI}${this.mrid}>
|
|
198
|
+
a cim:Asset ;
|
|
199
|
+
cim:IdentifiedObject.name "${this.name}" .
|
|
200
200
|
`;
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
exports.Asset = Asset;
|
|
204
|
-
Asset.sparqlQuery = `
|
|
205
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
206
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
207
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
208
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
209
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
210
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
211
|
-
|
|
212
|
-
SELECT (STRAFTER(str(?fUUID), '#_') AS ?uuid)
|
|
213
|
-
(CONCAT(STRBEFORE(str(?fUUID), '#_'), '#_') AS ?baseIRI)
|
|
214
|
-
?name ?status ?manufacturedDate
|
|
215
|
-
(STRAFTER(str(?lUUID), '#_') AS ?locationUUID)
|
|
216
|
-
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
|
|
217
|
-
|
|
218
|
-
WHERE {
|
|
219
|
-
GRAPH <http://default/> {
|
|
220
|
-
?fUUID rdf:type cim:Asset .
|
|
221
|
-
OPTIONAL {?fUUID cim:IdentifiedObject.name ?name .}
|
|
222
|
-
OPTIONAL {?fUUID cim:Asset.type ?type .}
|
|
223
|
-
OPTIONAL {?fUUID cim:Asset.status [ cim:Status.value ?status ] .}
|
|
224
|
-
OPTIONAL {?fUUID cim:Asset.lifecycleDate [ cim:LifecycleDate.manufacturedDate ?manufacturedDate ] .}
|
|
225
|
-
OPTIONAL {?fUUID cim:Asset.PowerSystemResources ?psrUUIDs . }
|
|
226
|
-
OPTIONAL {?fUUID cim:Asset.Location ?lUUID . }
|
|
227
|
-
|
|
228
|
-
}
|
|
229
|
-
}
|
|
204
|
+
Asset.sparqlQuery = `
|
|
205
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
206
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
207
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
208
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
209
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
210
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
211
|
+
|
|
212
|
+
SELECT (STRAFTER(str(?fUUID), '#_') AS ?uuid)
|
|
213
|
+
(CONCAT(STRBEFORE(str(?fUUID), '#_'), '#_') AS ?baseIRI)
|
|
214
|
+
?name ?status ?manufacturedDate
|
|
215
|
+
(STRAFTER(str(?lUUID), '#_') AS ?locationUUID)
|
|
216
|
+
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
|
|
217
|
+
|
|
218
|
+
WHERE {
|
|
219
|
+
GRAPH <http://default/> {
|
|
220
|
+
?fUUID rdf:type cim:Asset .
|
|
221
|
+
OPTIONAL {?fUUID cim:IdentifiedObject.name ?name .}
|
|
222
|
+
OPTIONAL {?fUUID cim:Asset.type ?type .}
|
|
223
|
+
OPTIONAL {?fUUID cim:Asset.status [ cim:Status.value ?status ] .}
|
|
224
|
+
OPTIONAL {?fUUID cim:Asset.lifecycleDate [ cim:LifecycleDate.manufacturedDate ?manufacturedDate ] .}
|
|
225
|
+
OPTIONAL {?fUUID cim:Asset.PowerSystemResources ?psrUUIDs . }
|
|
226
|
+
OPTIONAL {?fUUID cim:Asset.Location ?lUUID . }
|
|
227
|
+
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
230
|
GROUP BY ?fUUID ?baseIRI ?name ?status ?manufacturedDate ?lUUID`;
|
|
231
231
|
//# sourceMappingURL=Asset.js.map
|
|
@@ -52,15 +52,15 @@ class AssetDeployment extends __1.IdentifiedObject {
|
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
54
|
createNewStatementSPARQL() {
|
|
55
|
-
return `
|
|
56
|
-
<${this.baseIRI}${this.mrid}>
|
|
57
|
-
a cim:AssetDeployment ;
|
|
58
|
-
cim:AssetDeployment.deploymentDate
|
|
59
|
-
[
|
|
60
|
-
a cim:DeploymentDate ;
|
|
61
|
-
cim:DeploymentDate.inServiceDate '' ;
|
|
62
|
-
cim:DeploymentDate.installedDate ''
|
|
63
|
-
] .
|
|
55
|
+
return `
|
|
56
|
+
<${this.baseIRI}${this.mrid}>
|
|
57
|
+
a cim:AssetDeployment ;
|
|
58
|
+
cim:AssetDeployment.deploymentDate
|
|
59
|
+
[
|
|
60
|
+
a cim:DeploymentDate ;
|
|
61
|
+
cim:DeploymentDate.inServiceDate '' ;
|
|
62
|
+
cim:DeploymentDate.installedDate ''
|
|
63
|
+
] .
|
|
64
64
|
`;
|
|
65
65
|
}
|
|
66
66
|
setAsset(asset) {
|
|
@@ -82,49 +82,49 @@ class AssetDeployment extends __1.IdentifiedObject {
|
|
|
82
82
|
return this.deploymentDate.getInServiceDate();
|
|
83
83
|
}
|
|
84
84
|
getInsertNewSPARQL(baseIRI, graphURI) {
|
|
85
|
-
const insertStatement = `
|
|
86
|
-
${__1.NS_PREFIX_RDF}
|
|
87
|
-
${__1.NS_PREFIX_CIM}
|
|
88
|
-
INSERT DATA
|
|
89
|
-
{
|
|
90
|
-
GRAPH ${graphURI}
|
|
91
|
-
{
|
|
92
|
-
<${baseIRI}${this.mrid}>
|
|
93
|
-
a cim:AssetDeployment ;
|
|
94
|
-
cim:AssetDeployment.deploymentDate
|
|
95
|
-
[
|
|
96
|
-
a cim:DeploymentDate ;
|
|
97
|
-
cim:DeploymentDate.inServiceDate '' ;
|
|
98
|
-
cim:DeploymentDate.installedDate ''
|
|
99
|
-
] .
|
|
100
|
-
}
|
|
101
|
-
}
|
|
85
|
+
const insertStatement = `
|
|
86
|
+
${__1.NS_PREFIX_RDF}
|
|
87
|
+
${__1.NS_PREFIX_CIM}
|
|
88
|
+
INSERT DATA
|
|
89
|
+
{
|
|
90
|
+
GRAPH ${graphURI}
|
|
91
|
+
{
|
|
92
|
+
<${baseIRI}${this.mrid}>
|
|
93
|
+
a cim:AssetDeployment ;
|
|
94
|
+
cim:AssetDeployment.deploymentDate
|
|
95
|
+
[
|
|
96
|
+
a cim:DeploymentDate ;
|
|
97
|
+
cim:DeploymentDate.inServiceDate '' ;
|
|
98
|
+
cim:DeploymentDate.installedDate ''
|
|
99
|
+
] .
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
102
|
`;
|
|
103
103
|
return insertStatement;
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
exports.AssetDeployment = AssetDeployment;
|
|
107
|
-
AssetDeployment.sparqlQuery = `
|
|
108
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
109
|
-
PREFIX enervance: <http://enervance.com/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(?adUUID), '#_') AS ?uuid)
|
|
116
|
-
(CONCAT(STRBEFORE(str(?adUUID), '#_'), '#_') AS ?baseIRI)
|
|
117
|
-
(STRAFTER(str(?aUUID), '#_') AS ?assetUUID)
|
|
118
|
-
(STRAFTER(STRAFTER(str(?deplState), '#'), '.') AS ?deploymentState)
|
|
119
|
-
?installedDate ?inServiceDate
|
|
120
|
-
WHERE {
|
|
121
|
-
GRAPH <http://default/>{
|
|
122
|
-
?adUUID rdf:type cim:AssetDeployment .
|
|
123
|
-
OPTIONAL {?adUUID cim:AssetDeployment.deploymentDate [ cim:DeploymentDate.installedDate ?installedDate ] .}
|
|
124
|
-
OPTIONAL {?adUUID cim:AssetDeployment.deploymentDate [ cim:DeploymentDate.inServiceDate ?inServiceDate ] .}
|
|
125
|
-
OPTIONAL {?adUUID cim:AssetDeployment.deploymentState ?deplState }
|
|
126
|
-
OPTIONAL {?adUUID cim:AssetDeployment.Asset ?aUUID . }
|
|
127
|
-
}
|
|
128
|
-
}
|
|
107
|
+
AssetDeployment.sparqlQuery = `
|
|
108
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
109
|
+
PREFIX enervance: <http://enervance.com/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(?adUUID), '#_') AS ?uuid)
|
|
116
|
+
(CONCAT(STRBEFORE(str(?adUUID), '#_'), '#_') AS ?baseIRI)
|
|
117
|
+
(STRAFTER(str(?aUUID), '#_') AS ?assetUUID)
|
|
118
|
+
(STRAFTER(STRAFTER(str(?deplState), '#'), '.') AS ?deploymentState)
|
|
119
|
+
?installedDate ?inServiceDate
|
|
120
|
+
WHERE {
|
|
121
|
+
GRAPH <http://default/>{
|
|
122
|
+
?adUUID rdf:type cim:AssetDeployment .
|
|
123
|
+
OPTIONAL {?adUUID cim:AssetDeployment.deploymentDate [ cim:DeploymentDate.installedDate ?installedDate ] .}
|
|
124
|
+
OPTIONAL {?adUUID cim:AssetDeployment.deploymentDate [ cim:DeploymentDate.inServiceDate ?inServiceDate ] .}
|
|
125
|
+
OPTIONAL {?adUUID cim:AssetDeployment.deploymentState ?deplState }
|
|
126
|
+
OPTIONAL {?adUUID cim:AssetDeployment.Asset ?aUUID . }
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
129
|
`;
|
|
130
130
|
//# sourceMappingURL=AssetDeployment.js.map
|
|
@@ -42,7 +42,7 @@ AssetHealthEvent.sparqlQuery = `
|
|
|
42
42
|
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
43
43
|
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
44
44
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
45
|
-
PREFIX amp: <http://amprion.net/
|
|
45
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
46
46
|
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
47
47
|
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
48
48
|
|
|
@@ -27,7 +27,7 @@ AssetUser.sparqlQuery = `
|
|
|
27
27
|
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
28
28
|
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
29
29
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
30
|
-
PREFIX amp: <http://amprion.net/
|
|
30
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
31
31
|
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
32
32
|
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
33
33
|
|
|
@@ -44,16 +44,16 @@ class Facility extends AssetContainer_1.AssetContainer {
|
|
|
44
44
|
super.toJSONAssociations();
|
|
45
45
|
}
|
|
46
46
|
createNewStatementSPARQL() {
|
|
47
|
-
return `
|
|
48
|
-
<${this.baseIRI}${this.mrid}>
|
|
49
|
-
a cim:Facility ;
|
|
50
|
-
cim:IdentifiedObject.name "Facility" ;
|
|
51
|
-
cim:Asset.lifecycleDate
|
|
52
|
-
[
|
|
53
|
-
a cim:LifecycleDate ;
|
|
54
|
-
cim:LifecycleDate.manufacturedDate "" ;
|
|
55
|
-
cim:LifecycleDate.purchaseDate ""
|
|
56
|
-
] .
|
|
47
|
+
return `
|
|
48
|
+
<${this.baseIRI}${this.mrid}>
|
|
49
|
+
a cim:Facility ;
|
|
50
|
+
cim:IdentifiedObject.name "Facility" ;
|
|
51
|
+
cim:Asset.lifecycleDate
|
|
52
|
+
[
|
|
53
|
+
a cim:LifecycleDate ;
|
|
54
|
+
cim:LifecycleDate.manufacturedDate "" ;
|
|
55
|
+
cim:LifecycleDate.purchaseDate ""
|
|
56
|
+
] .
|
|
57
57
|
`;
|
|
58
58
|
}
|
|
59
59
|
setKind(kind) {
|
|
@@ -62,32 +62,32 @@ class Facility extends AssetContainer_1.AssetContainer {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
exports.Facility = Facility;
|
|
65
|
-
Facility.sparqlQuery = `
|
|
66
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
67
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
68
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
69
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
70
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
71
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
72
|
-
|
|
73
|
-
SELECT (STRAFTER(str(?fUUID), '#_') AS ?uuid)
|
|
74
|
-
(CONCAT(STRBEFORE(str(?fUUID), '#_'), '#_') AS ?baseIRI)
|
|
75
|
-
(STRAFTER(str(?cnUUID), '#_') AS ?connectivityNodeUUID)
|
|
76
|
-
?name ?type ?kind ?manufacturedDate
|
|
77
|
-
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
|
|
78
|
-
|
|
79
|
-
WHERE {
|
|
80
|
-
GRAPH <http://default/>{
|
|
81
|
-
?fUUID rdf:type cim:Facility .
|
|
82
|
-
OPTIONAL {?fUUID cim:IdentifiedObject.name ?name .}
|
|
83
|
-
OPTIONAL {?fUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
84
|
-
OPTIONAL {?fUUID cim:Facility.kind ?kind .}
|
|
85
|
-
OPTIONAL {?fUUID cim:Asset.type ?type .}
|
|
86
|
-
OPTIONAL {?fUUID cim:Asset.lifecycleDate [ cim:LifecycleDate.manufacturedDate ?manufacturedDate ] .}
|
|
87
|
-
OPTIONAL {?fUUID enervance:Asset.ConnectivityNode ?cnUUID .}
|
|
88
|
-
OPTIONAL {?fUUID cim:Asset.PowerSystemResources ?psrUUIDs . }
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
}
|
|
65
|
+
Facility.sparqlQuery = `
|
|
66
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
67
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
68
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
69
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
70
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
71
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
72
|
+
|
|
73
|
+
SELECT (STRAFTER(str(?fUUID), '#_') AS ?uuid)
|
|
74
|
+
(CONCAT(STRBEFORE(str(?fUUID), '#_'), '#_') AS ?baseIRI)
|
|
75
|
+
(STRAFTER(str(?cnUUID), '#_') AS ?connectivityNodeUUID)
|
|
76
|
+
?name ?type ?kind ?manufacturedDate
|
|
77
|
+
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
|
|
78
|
+
|
|
79
|
+
WHERE {
|
|
80
|
+
GRAPH <http://default/>{
|
|
81
|
+
?fUUID rdf:type cim:Facility .
|
|
82
|
+
OPTIONAL {?fUUID cim:IdentifiedObject.name ?name .}
|
|
83
|
+
OPTIONAL {?fUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
84
|
+
OPTIONAL {?fUUID cim:Facility.kind ?kind .}
|
|
85
|
+
OPTIONAL {?fUUID cim:Asset.type ?type .}
|
|
86
|
+
OPTIONAL {?fUUID cim:Asset.lifecycleDate [ cim:LifecycleDate.manufacturedDate ?manufacturedDate ] .}
|
|
87
|
+
OPTIONAL {?fUUID enervance:Asset.ConnectivityNode ?cnUUID .}
|
|
88
|
+
OPTIONAL {?fUUID cim:Asset.PowerSystemResources ?psrUUIDs . }
|
|
89
|
+
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
92
|
GROUP BY ?fUUID ?baseIRI ?name ?type ?kind ?cnUUID ?manufacturedDate `;
|
|
93
93
|
//# sourceMappingURL=Facility.js.map
|
|
@@ -65,26 +65,26 @@ class CoordinateSystem extends __1.IdentifiedObject {
|
|
|
65
65
|
return this.getPropertySparqlTriple(this.baseIRI, this.mrid, 'cim', 'CoordinateSystem', 'crsUrn', this.crsUrn);
|
|
66
66
|
}
|
|
67
67
|
createNewStatementSPARQL() {
|
|
68
|
-
return `
|
|
69
|
-
<${this.baseIRI}${this.mrid}>
|
|
70
|
-
a cim:CoordinateSystem ;
|
|
71
|
-
cim:IdentifiedObject.name "${this.name}" .
|
|
68
|
+
return `
|
|
69
|
+
<${this.baseIRI}${this.mrid}>
|
|
70
|
+
a cim:CoordinateSystem ;
|
|
71
|
+
cim:IdentifiedObject.name "${this.name}" .
|
|
72
72
|
`;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
exports.CoordinateSystem = CoordinateSystem;
|
|
76
|
-
CoordinateSystem.sparqlQuery = `
|
|
77
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
78
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
79
|
-
|
|
80
|
-
SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
|
|
81
|
-
(CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
|
|
82
|
-
?crsUrn
|
|
83
|
-
WHERE {
|
|
84
|
-
GRAPH <http://default/>{
|
|
85
|
-
?MRID rdf:type cim:CoordinateSystem .
|
|
86
|
-
OPTIONAL {?MRID cim:CoordinateSystem.crsUrn ?crsUrn .}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
76
|
+
CoordinateSystem.sparqlQuery = `
|
|
77
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
78
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
79
|
+
|
|
80
|
+
SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
|
|
81
|
+
(CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
|
|
82
|
+
?crsUrn
|
|
83
|
+
WHERE {
|
|
84
|
+
GRAPH <http://default/>{
|
|
85
|
+
?MRID rdf:type cim:CoordinateSystem .
|
|
86
|
+
OPTIONAL {?MRID cim:CoordinateSystem.crsUrn ?crsUrn .}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
89
|
`;
|
|
90
90
|
//# sourceMappingURL=CoordinateSystem.js.map
|
|
@@ -152,27 +152,27 @@ class Location extends __1.IdentifiedObject {
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
exports.Location = Location;
|
|
155
|
-
Location.sparqlQuery = `
|
|
156
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
157
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
158
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
159
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
160
|
-
PREFIX amp: <http://amprion.net/Extensions#>
|
|
161
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
162
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
163
|
-
|
|
164
|
-
SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
|
|
165
|
-
(CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
|
|
166
|
-
(strafter(strafter(str(?csUUIDs), '#'), '_') AS ?coordinateSystemUUID)
|
|
167
|
-
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourcesUUIDs)
|
|
168
|
-
|
|
169
|
-
WHERE {
|
|
170
|
-
GRAPH <http://default/>{
|
|
171
|
-
?MRID rdf:type cim:Location .
|
|
172
|
-
OPTIONAL {?MRID cim:Location.CoordinateSystem ?csUUIDs .}
|
|
173
|
-
OPTIONAL {?MRID cim:Location.PowerSystemResources ?psrUUIDs .}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
GROUP BY ?MRID ?baseIRI ?csUUIDs
|
|
155
|
+
Location.sparqlQuery = `
|
|
156
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
157
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
158
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
159
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
160
|
+
PREFIX amp: <http://amprion.net/Extensions#>
|
|
161
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
162
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
163
|
+
|
|
164
|
+
SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
|
|
165
|
+
(CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
|
|
166
|
+
(strafter(strafter(str(?csUUIDs), '#'), '_') AS ?coordinateSystemUUID)
|
|
167
|
+
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourcesUUIDs)
|
|
168
|
+
|
|
169
|
+
WHERE {
|
|
170
|
+
GRAPH <http://default/>{
|
|
171
|
+
?MRID rdf:type cim:Location .
|
|
172
|
+
OPTIONAL {?MRID cim:Location.CoordinateSystem ?csUUIDs .}
|
|
173
|
+
OPTIONAL {?MRID cim:Location.PowerSystemResources ?psrUUIDs .}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
GROUP BY ?MRID ?baseIRI ?csUUIDs
|
|
177
177
|
`;
|
|
178
178
|
//# sourceMappingURL=Location.js.map
|
|
@@ -37,7 +37,7 @@ Organisation.sparqlQuery = `
|
|
|
37
37
|
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
38
38
|
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
39
39
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
40
|
-
PREFIX amp: <http://amprion.net/
|
|
40
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
41
41
|
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
42
42
|
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
43
43
|
|
|
@@ -90,8 +90,8 @@ class PositionPoint extends __1.IdentifiedObject {
|
|
|
90
90
|
return this.getAssociationSparqlTriple(this.baseIRI, this.mrid, 'cim', 'PositionPoint', 'Location', location.mrid);
|
|
91
91
|
}
|
|
92
92
|
createNewStatementSPARQL() {
|
|
93
|
-
return `
|
|
94
|
-
<${this.baseIRI}${this.mrid}>
|
|
93
|
+
return `
|
|
94
|
+
<${this.baseIRI}${this.mrid}>
|
|
95
95
|
a cim:PositionPoint .`;
|
|
96
96
|
}
|
|
97
97
|
setSequenceNumber(sequenceNumber) {
|
|
@@ -108,28 +108,28 @@ class PositionPoint extends __1.IdentifiedObject {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
exports.PositionPoint = PositionPoint;
|
|
111
|
-
PositionPoint.sparqlQuery = `
|
|
112
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
113
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
114
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
115
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
116
|
-
PREFIX amp: <http://amprion.net/
|
|
117
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
118
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
119
|
-
|
|
120
|
-
SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
|
|
121
|
-
(CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
|
|
122
|
-
?sequenceNumber ?xPosition ?yPosition
|
|
123
|
-
(strafter(strafter(str(?locUUID), '#'), '_') AS ?locationUUID)
|
|
124
|
-
|
|
125
|
-
WHERE {
|
|
126
|
-
GRAPH <http://default/>{
|
|
127
|
-
?MRID rdf:type cim:PositionPoint .
|
|
128
|
-
OPTIONAL {?MRID cim:PositionPoint.sequenceNumber ?sequenceNumber .}
|
|
129
|
-
OPTIONAL {?MRID cim:PositionPoint.xPosition ?xPosition .}
|
|
130
|
-
OPTIONAL {?MRID cim:PositionPoint.yPosition ?yPosition .}
|
|
131
|
-
OPTIONAL {?MRID cim:PositionPoint.Location ?locUUID .}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
111
|
+
PositionPoint.sparqlQuery = `
|
|
112
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
113
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
114
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
115
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
116
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
117
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
118
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
119
|
+
|
|
120
|
+
SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
|
|
121
|
+
(CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
|
|
122
|
+
?sequenceNumber ?xPosition ?yPosition
|
|
123
|
+
(strafter(strafter(str(?locUUID), '#'), '_') AS ?locationUUID)
|
|
124
|
+
|
|
125
|
+
WHERE {
|
|
126
|
+
GRAPH <http://default/>{
|
|
127
|
+
?MRID rdf:type cim:PositionPoint .
|
|
128
|
+
OPTIONAL {?MRID cim:PositionPoint.sequenceNumber ?sequenceNumber .}
|
|
129
|
+
OPTIONAL {?MRID cim:PositionPoint.xPosition ?xPosition .}
|
|
130
|
+
OPTIONAL {?MRID cim:PositionPoint.yPosition ?yPosition .}
|
|
131
|
+
OPTIONAL {?MRID cim:PositionPoint.Location ?locUUID .}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
134
|
`;
|
|
135
135
|
//# sourceMappingURL=PositionPoint.js.map
|
|
@@ -85,27 +85,27 @@ class BaseVoltage extends IdentifiedObject_1.IdentifiedObject {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
exports.BaseVoltage = BaseVoltage;
|
|
88
|
-
BaseVoltage.sparqlQuery = `
|
|
89
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
90
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
91
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
92
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
93
|
-
PREFIX amp: <http://amprion.net/
|
|
94
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
95
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
96
|
-
|
|
97
|
-
SELECT (strafter(strafter(str(?bvUUID), "#"), "_") AS ?uuid)
|
|
98
|
-
?name ?shortName ?description ?nominalVoltage
|
|
99
|
-
|
|
100
|
-
WHERE {
|
|
101
|
-
GRAPH <http://default/>{
|
|
102
|
-
|
|
103
|
-
?bvUUID rdf:type cim:BaseVoltage .
|
|
104
|
-
OPTIONAL{?bvUUID cim:IdentifiedObject.name ?name .}
|
|
105
|
-
OPTIONAL{?bvUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
106
|
-
OPTIONAL{?bvUUID cim:IdentifiedObject.description ?description .}
|
|
107
|
-
OPTIONAL{?bvUUID cim:BaseVoltage.nominalVoltage ?nominalVoltage .}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
88
|
+
BaseVoltage.sparqlQuery = `
|
|
89
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
90
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
91
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
92
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
93
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
94
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
95
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
96
|
+
|
|
97
|
+
SELECT (strafter(strafter(str(?bvUUID), "#"), "_") AS ?uuid)
|
|
98
|
+
?name ?shortName ?description ?nominalVoltage
|
|
99
|
+
|
|
100
|
+
WHERE {
|
|
101
|
+
GRAPH <http://default/>{
|
|
102
|
+
|
|
103
|
+
?bvUUID rdf:type cim:BaseVoltage .
|
|
104
|
+
OPTIONAL{?bvUUID cim:IdentifiedObject.name ?name .}
|
|
105
|
+
OPTIONAL{?bvUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
106
|
+
OPTIONAL{?bvUUID cim:IdentifiedObject.description ?description .}
|
|
107
|
+
OPTIONAL{?bvUUID cim:BaseVoltage.nominalVoltage ?nominalVoltage .}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
110
|
`;
|
|
111
111
|
//# sourceMappingURL=BaseVoltage.js.map
|
|
@@ -380,29 +380,29 @@ class ConnectivityNode extends IdentifiedObject_1.IdentifiedObject {
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
exports.ConnectivityNode = ConnectivityNode;
|
|
383
|
-
ConnectivityNode.sparqlQuery = `
|
|
384
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
385
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
386
|
-
PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
|
|
387
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
388
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
389
|
-
PREFIX amp: <http://amprion.net/Extensions#>
|
|
390
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
391
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
392
|
-
|
|
393
|
-
SELECT (STRAFTER(str(?MRID), '#_') AS ?uuid)
|
|
394
|
-
(CONCAT(STRBEFORE(str(?MRID), '#_'), '#_') AS ?baseIRI)
|
|
395
|
-
?name ?shortName ?description
|
|
396
|
-
(STRAFTER(str(?cncUUID), '#_') AS ?connectivityNodeContainerUUID)
|
|
397
|
-
|
|
398
|
-
WHERE {
|
|
399
|
-
GRAPH <http://default/>{
|
|
400
|
-
?MRID rdf:type cim:ConnectivityNode .
|
|
401
|
-
OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
|
|
402
|
-
OPTIONAL {?MRID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
403
|
-
OPTIONAL {?MRID cim:IdentifiedObject.description ?description .}
|
|
404
|
-
OPTIONAL {?MRID cim:ConnectivityNode.ConnectivityNodeContainer ?cncUUID .}
|
|
405
|
-
}
|
|
406
|
-
}
|
|
383
|
+
ConnectivityNode.sparqlQuery = `
|
|
384
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
385
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
386
|
+
PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#>
|
|
387
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
388
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
389
|
+
PREFIX amp: <http://amprion.net/Extensions#>
|
|
390
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
391
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
392
|
+
|
|
393
|
+
SELECT (STRAFTER(str(?MRID), '#_') AS ?uuid)
|
|
394
|
+
(CONCAT(STRBEFORE(str(?MRID), '#_'), '#_') AS ?baseIRI)
|
|
395
|
+
?name ?shortName ?description
|
|
396
|
+
(STRAFTER(str(?cncUUID), '#_') AS ?connectivityNodeContainerUUID)
|
|
397
|
+
|
|
398
|
+
WHERE {
|
|
399
|
+
GRAPH <http://default/>{
|
|
400
|
+
?MRID rdf:type cim:ConnectivityNode .
|
|
401
|
+
OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
|
|
402
|
+
OPTIONAL {?MRID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
403
|
+
OPTIONAL {?MRID cim:IdentifiedObject.description ?description .}
|
|
404
|
+
OPTIONAL {?MRID cim:ConnectivityNode.ConnectivityNodeContainer ?cncUUID .}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
407
|
`;
|
|
408
408
|
//# sourceMappingURL=ConnectivityNode.js.map
|