@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.
- 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/converter/integral7/ConverterIntegral7.js +23 -23
- package/dist/converter/integral7/converter-i7.d.ts +3 -5
- package/dist/converter/integral7/converter-i7.js +495 -460
- 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 -4
- 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.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 +1 -8
- package/dist/index.js +2 -16
- 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/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/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
|
@@ -6,43 +6,8 @@ class ModelOperationDescription extends IdentifiedObject_1.IdentifiedObject {
|
|
|
6
6
|
constructor(uuid, name, shortName, description, baseIRI) {
|
|
7
7
|
super(uuid, name, shortName, description, baseIRI);
|
|
8
8
|
this.modelOperation = new Set();
|
|
9
|
-
|
|
10
|
-
static getQuerySPARQL(graphURI, filteredUUID) {
|
|
11
|
-
if (graphURI.length > 0) {
|
|
12
|
-
return ModelOperationDescription.sparqlQuery.replace('<http://default/>', graphURI);
|
|
13
|
-
}
|
|
14
|
-
return ModelOperationDescription.sparqlQuery;
|
|
15
|
-
}
|
|
16
|
-
static resolveClassFusekiJSON(data, cimModel) {
|
|
17
|
-
var _a, _b;
|
|
18
|
-
return (_b = (_a = data === null || data === void 0 ? void 0 : data.results) === null || _a === void 0 ? void 0 : _a.bindings) === null || _b === void 0 ? void 0 : _b.map(value => {
|
|
19
|
-
const modelOperationDescription = new ModelOperationDescription();
|
|
20
|
-
modelOperationDescription.resolveAttributesFusekiJSON(value);
|
|
21
|
-
cimModel.addModelOperationDescription(modelOperationDescription);
|
|
22
|
-
return modelOperationDescription;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
addModelOperation(modelOperation) {
|
|
26
|
-
this.modelOperation.add(modelOperation);
|
|
9
|
+
this.operationDatasetArgDescription = new Set();
|
|
27
10
|
}
|
|
28
11
|
}
|
|
29
12
|
exports.ModelOperationDescription = ModelOperationDescription;
|
|
30
|
-
ModelOperationDescription.sparqlQuery = `
|
|
31
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
32
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
33
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
34
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
35
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
36
|
-
|
|
37
|
-
SELECT (strafter(strafter(str(?MRID), '#'), '_') AS ?uuid)
|
|
38
|
-
(CONCAT(STRBEFORE(STR(?MRID), '#_'), '#_') AS ?baseIRI)
|
|
39
|
-
?name ?shortName ?description
|
|
40
|
-
WHERE {
|
|
41
|
-
GRAPH <http://default/>{
|
|
42
|
-
?MRID rdf:type cim:ModelOperationDescription .
|
|
43
|
-
OPTIONAL {?MRID cim:IdentifiedObject.name ?name .}
|
|
44
|
-
OPTIONAL {?MRID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
45
|
-
OPTIONAL {?MRID cim:IdentifiedObject.description ?description .}
|
|
46
|
-
}
|
|
47
|
-
}`;
|
|
48
13
|
//# sourceMappingURL=ModelOperationDescription.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelOperationDescription.js","sourceRoot":"","sources":["../../../src/model/model-operations/ModelOperationDescription.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;
|
|
1
|
+
{"version":3,"file":"ModelOperationDescription.js","sourceRoot":"","sources":["../../../src/model/model-operations/ModelOperationDescription.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAG5D,MAAa,yBAA0B,SAAQ,mCAAgB;IAM7D,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB,EAAE,OAAgB;QAClG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QALrD,mBAAc,GAAwB,IAAI,GAAG,EAAkB,CAAC;QAEhE,mCAA8B,GAAmC,IAAI,GAAG,EAA6B,CAAC;IAItG,CAAC;CACF;AATD,8DASC"}
|
|
@@ -71,24 +71,24 @@ class CurrentLimit extends OperationalLimit_1.OperationalLimit {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
exports.CurrentLimit = CurrentLimit;
|
|
74
|
-
CurrentLimit.sparqlQuery = `
|
|
75
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
76
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
77
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
78
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
79
|
-
PREFIX amp: <http://amprion.net/
|
|
80
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
81
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
82
|
-
|
|
83
|
-
SELECT (strafter(strafter(str(?clUUID), "#"), "_") AS ?uuid) ?value (strafter(strafter(str(?olsUUID), "#"), "_") AS ?operationalLimitSetUUID) (strafter(strafter(str(?oltUUID), "#"), "_") AS ?operationalLimitTypeUUID)
|
|
84
|
-
|
|
85
|
-
WHERE {
|
|
86
|
-
GRAPH <http://default/>{
|
|
87
|
-
?clUUID rdf:type cim:CurrentLimit .
|
|
88
|
-
OPTIONAL{?clUUID cim:CurrentLimit.value ?value .}
|
|
89
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitSet ?olsUUID .}
|
|
90
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitType ?oltUUID .}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
74
|
+
CurrentLimit.sparqlQuery = `
|
|
75
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
76
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
77
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
78
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
79
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
80
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
81
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
82
|
+
|
|
83
|
+
SELECT (strafter(strafter(str(?clUUID), "#"), "_") AS ?uuid) ?value (strafter(strafter(str(?olsUUID), "#"), "_") AS ?operationalLimitSetUUID) (strafter(strafter(str(?oltUUID), "#"), "_") AS ?operationalLimitTypeUUID)
|
|
84
|
+
|
|
85
|
+
WHERE {
|
|
86
|
+
GRAPH <http://default/>{
|
|
87
|
+
?clUUID rdf:type cim:CurrentLimit .
|
|
88
|
+
OPTIONAL{?clUUID cim:CurrentLimit.value ?value .}
|
|
89
|
+
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitSet ?olsUUID .}
|
|
90
|
+
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitType ?oltUUID .}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
93
|
`;
|
|
94
94
|
//# sourceMappingURL=CurrentLimit.js.map
|
|
@@ -80,23 +80,23 @@ class OperationalLimitSet extends IdentifiedObject_1.IdentifiedObject {
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
exports.OperationalLimitSet = OperationalLimitSet;
|
|
83
|
-
OperationalLimitSet.sparqlQuery = `
|
|
84
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
85
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
86
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
87
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
88
|
-
PREFIX amp: <http://amprion.net/
|
|
89
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
90
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
91
|
-
|
|
92
|
-
SELECT (strafter(strafter(str(?olsUUID), "#"), "_") AS ?uuid) (strafter(strafter(str(?trUUID), "#"), "_") AS ?terminalUUID) (strafter(strafter(str(?eqUUID), "#"), "_") AS ?equipmentUUID)
|
|
93
|
-
|
|
94
|
-
WHERE {
|
|
95
|
-
GRAPH <http://default/>{
|
|
96
|
-
?olsUUID rdf:type cim:OperationalLimitSet .
|
|
97
|
-
OPTIONAL{?olsUUID cim:OperationalLimitSet.Terminal ?trUUID .}
|
|
98
|
-
OPTIONAL{?olsUUID cim:OperationalLimitSet.Equipment ?eqUUID .}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
83
|
+
OperationalLimitSet.sparqlQuery = `
|
|
84
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
85
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
86
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
87
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
88
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
89
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
90
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
91
|
+
|
|
92
|
+
SELECT (strafter(strafter(str(?olsUUID), "#"), "_") AS ?uuid) (strafter(strafter(str(?trUUID), "#"), "_") AS ?terminalUUID) (strafter(strafter(str(?eqUUID), "#"), "_") AS ?equipmentUUID)
|
|
93
|
+
|
|
94
|
+
WHERE {
|
|
95
|
+
GRAPH <http://default/>{
|
|
96
|
+
?olsUUID rdf:type cim:OperationalLimitSet .
|
|
97
|
+
OPTIONAL{?olsUUID cim:OperationalLimitSet.Terminal ?trUUID .}
|
|
98
|
+
OPTIONAL{?olsUUID cim:OperationalLimitSet.Equipment ?eqUUID .}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
101
|
`;
|
|
102
102
|
//# sourceMappingURL=OperationalLimitSet.js.map
|
|
@@ -55,21 +55,21 @@ class OperationalLimitType extends IdentifiedObject_1.IdentifiedObject {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
exports.OperationalLimitType = OperationalLimitType;
|
|
58
|
-
OperationalLimitType.sparqlQuery = `
|
|
59
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
60
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
61
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
62
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
63
|
-
PREFIX amp: <http://amprion.net/
|
|
64
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
65
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
66
|
-
|
|
67
|
-
SELECT (strafter(strafter(str(?clUUID), "#"), "_") AS ?uuid)
|
|
68
|
-
|
|
69
|
-
WHERE {
|
|
70
|
-
GRAPH <http://default/>{
|
|
71
|
-
?clUUID rdf:type cim:OperationalLimitType .
|
|
72
|
-
}
|
|
73
|
-
}
|
|
58
|
+
OperationalLimitType.sparqlQuery = `
|
|
59
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
60
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
61
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
62
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
63
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
64
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
65
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
66
|
+
|
|
67
|
+
SELECT (strafter(strafter(str(?clUUID), "#"), "_") AS ?uuid)
|
|
68
|
+
|
|
69
|
+
WHERE {
|
|
70
|
+
GRAPH <http://default/>{
|
|
71
|
+
?clUUID rdf:type cim:OperationalLimitType .
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
74
|
`;
|
|
75
75
|
//# sourceMappingURL=OperationalLimitType.js.map
|
|
@@ -79,25 +79,25 @@ class SvPowerFlow extends StateVariable_1.StateVariable {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
exports.SvPowerFlow = SvPowerFlow;
|
|
82
|
-
SvPowerFlow.sparqlQuery = `
|
|
83
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
84
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
85
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
86
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
87
|
-
PREFIX amp: <http://amprion.net/
|
|
88
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
89
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
90
|
-
|
|
91
|
-
SELECT (strafter(strafter(str(?svPfUUID), "#"), "_") AS ?uuid) ?p ?q (strafter(strafter(str(?trUUID), "#"), "_") AS ?terminalUUID)
|
|
92
|
-
|
|
93
|
-
WHERE {
|
|
94
|
-
GRAPH <http://default/>{
|
|
95
|
-
|
|
96
|
-
?svPfUUID rdf:type cim:SvPowerFlow .
|
|
97
|
-
OPTIONAL{?svPfUUID cim:SvPowerFlow.p ?p .}
|
|
98
|
-
OPTIONAL{?svPfUUID cim:SvPowerFlow.q ?q .}
|
|
99
|
-
OPTIONAL{?svPfUUID cim:SvPowerFlow.Terminal ?trUUID .}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
82
|
+
SvPowerFlow.sparqlQuery = `
|
|
83
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
84
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
85
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
86
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
87
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
88
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
89
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
90
|
+
|
|
91
|
+
SELECT (strafter(strafter(str(?svPfUUID), "#"), "_") AS ?uuid) ?p ?q (strafter(strafter(str(?trUUID), "#"), "_") AS ?terminalUUID)
|
|
92
|
+
|
|
93
|
+
WHERE {
|
|
94
|
+
GRAPH <http://default/>{
|
|
95
|
+
|
|
96
|
+
?svPfUUID rdf:type cim:SvPowerFlow .
|
|
97
|
+
OPTIONAL{?svPfUUID cim:SvPowerFlow.p ?p .}
|
|
98
|
+
OPTIONAL{?svPfUUID cim:SvPowerFlow.q ?q .}
|
|
99
|
+
OPTIONAL{?svPfUUID cim:SvPowerFlow.Terminal ?trUUID .}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
102
|
`;
|
|
103
103
|
//# sourceMappingURL=SvPowerFlow.js.map
|
|
@@ -42,7 +42,7 @@ SvVoltage.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
|
|
|
@@ -32,7 +32,7 @@ TopologicalIsland.sparqlQuery = `
|
|
|
32
32
|
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
33
33
|
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
34
34
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
35
|
-
PREFIX amp: <http://amprion.net/
|
|
35
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
36
36
|
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
37
37
|
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
38
38
|
|
|
@@ -184,30 +184,30 @@ class TopologicalNode extends IdentifiedObject_1.IdentifiedObject {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
exports.TopologicalNode = TopologicalNode;
|
|
187
|
-
TopologicalNode.sparqlQuery = `
|
|
188
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
189
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
190
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
191
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
192
|
-
PREFIX amp: <http://amprion.net/
|
|
193
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
194
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
195
|
-
|
|
196
|
-
SELECT (strafter(strafter(str(?tpUUID), '#'), '_') AS ?uuid)
|
|
197
|
-
(CONCAT(STRBEFORE(str(?tpUUID), '#_'), '#_') AS ?baseIRI)
|
|
198
|
-
?name ?shortName ?description
|
|
199
|
-
(strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
|
|
200
|
-
(strafter(strafter(str(?cncUUID), '#'), '_') AS ?connectivityNodeContainerUUID)
|
|
201
|
-
WHERE {
|
|
202
|
-
GRAPH <http://default/>{
|
|
203
|
-
|
|
204
|
-
?tpUUID rdf:type cim:TopologicalNode .
|
|
205
|
-
OPTIONAL{?tpUUID cim:IdentifiedObject.name ?name .}
|
|
206
|
-
OPTIONAL{?tpUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
207
|
-
OPTIONAL{?tpUUID cim:IdentifiedObject.description ?description .}
|
|
208
|
-
OPTIONAL{?tpUUID cim:TopologicalNode.BaseVoltage ?bvUUID .}
|
|
209
|
-
OPTIONAL{?tpUUID cim:TopologicalNode.ConnectivityNodeContainer ?cncUUID .}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
187
|
+
TopologicalNode.sparqlQuery = `
|
|
188
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
189
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
190
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
191
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
192
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
193
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
194
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
195
|
+
|
|
196
|
+
SELECT (strafter(strafter(str(?tpUUID), '#'), '_') AS ?uuid)
|
|
197
|
+
(CONCAT(STRBEFORE(str(?tpUUID), '#_'), '#_') AS ?baseIRI)
|
|
198
|
+
?name ?shortName ?description
|
|
199
|
+
(strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
|
|
200
|
+
(strafter(strafter(str(?cncUUID), '#'), '_') AS ?connectivityNodeContainerUUID)
|
|
201
|
+
WHERE {
|
|
202
|
+
GRAPH <http://default/>{
|
|
203
|
+
|
|
204
|
+
?tpUUID rdf:type cim:TopologicalNode .
|
|
205
|
+
OPTIONAL{?tpUUID cim:IdentifiedObject.name ?name .}
|
|
206
|
+
OPTIONAL{?tpUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
207
|
+
OPTIONAL{?tpUUID cim:IdentifiedObject.description ?description .}
|
|
208
|
+
OPTIONAL{?tpUUID cim:TopologicalNode.BaseVoltage ?bvUUID .}
|
|
209
|
+
OPTIONAL{?tpUUID cim:TopologicalNode.ConnectivityNodeContainer ?cncUUID .}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
212
|
`;
|
|
213
213
|
//# sourceMappingURL=TopologicalNode.js.map
|
|
@@ -41,39 +41,39 @@ class Breaker extends ProtectedSwitch_1.ProtectedSwitch {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
exports.Breaker = Breaker;
|
|
44
|
-
Breaker.sparqlQuery = `
|
|
45
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
46
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
47
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
48
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
49
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
50
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
51
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
52
|
-
|
|
53
|
-
SELECT (strafter(strafter(str(?vlUUID), '#'), '_') AS ?uuid)
|
|
54
|
-
(CONCAT(STRBEFORE(STR(?vlUUID), '#_'), '#_') AS ?baseIRI)
|
|
55
|
-
?name ?shortName ?description ?open ?aggregate ?normalOpen ?retained
|
|
56
|
-
(strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
|
|
57
|
-
(strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
|
|
58
|
-
(group_concat(STRAFTER(str(?aecUUIDs), '#_');separator=',') as ?additionalEquipmentContainerUUIDs)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
WHERE {
|
|
62
|
-
GRAPH <http://default/>{
|
|
63
|
-
?vlUUID rdf:type cim:Breaker .
|
|
64
|
-
OPTIONAL{?vlUUID cim:IdentifiedObject.name ?name .}
|
|
65
|
-
OPTIONAL{?vlUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
66
|
-
OPTIONAL{?vlUUID cim:IdentifiedObject.description ?description .}
|
|
67
|
-
OPTIONAL{?vlUUID cim:Equipment.aggregate ?aggregate .}
|
|
68
|
-
OPTIONAL{?vlUUID cim:Switch.normalOpen ?normalOpen .}
|
|
69
|
-
OPTIONAL{?vlUUID cim:Switch.retained ?retained .}
|
|
70
|
-
OPTIONAL{?vlUUID cim:Switch.open ?open .}
|
|
71
|
-
OPTIONAL{?vlUUID cim:Equipment.EquipmentContainer ?ecUUID .}
|
|
72
|
-
OPTIONAL{?vlUUID cim:ConductingEquipment.BaseVoltage ?bvUUID .}
|
|
73
|
-
OPTIONAL{?vlUUID cim:Equipment.AdditionalEquipmentContainer ?aecUUIDs .}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
GROUP BY ?vlUUID ?baseIRI ?name ?shortName ?description
|
|
77
|
-
?open ?aggregate ?normalOpen ?retained ?ecUUID ?bvUUID
|
|
44
|
+
Breaker.sparqlQuery = `
|
|
45
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
46
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
47
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
48
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
49
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
50
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
51
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
52
|
+
|
|
53
|
+
SELECT (strafter(strafter(str(?vlUUID), '#'), '_') AS ?uuid)
|
|
54
|
+
(CONCAT(STRBEFORE(STR(?vlUUID), '#_'), '#_') AS ?baseIRI)
|
|
55
|
+
?name ?shortName ?description ?open ?aggregate ?normalOpen ?retained
|
|
56
|
+
(strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
|
|
57
|
+
(strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
|
|
58
|
+
(group_concat(STRAFTER(str(?aecUUIDs), '#_');separator=',') as ?additionalEquipmentContainerUUIDs)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
WHERE {
|
|
62
|
+
GRAPH <http://default/>{
|
|
63
|
+
?vlUUID rdf:type cim:Breaker .
|
|
64
|
+
OPTIONAL{?vlUUID cim:IdentifiedObject.name ?name .}
|
|
65
|
+
OPTIONAL{?vlUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
66
|
+
OPTIONAL{?vlUUID cim:IdentifiedObject.description ?description .}
|
|
67
|
+
OPTIONAL{?vlUUID cim:Equipment.aggregate ?aggregate .}
|
|
68
|
+
OPTIONAL{?vlUUID cim:Switch.normalOpen ?normalOpen .}
|
|
69
|
+
OPTIONAL{?vlUUID cim:Switch.retained ?retained .}
|
|
70
|
+
OPTIONAL{?vlUUID cim:Switch.open ?open .}
|
|
71
|
+
OPTIONAL{?vlUUID cim:Equipment.EquipmentContainer ?ecUUID .}
|
|
72
|
+
OPTIONAL{?vlUUID cim:ConductingEquipment.BaseVoltage ?bvUUID .}
|
|
73
|
+
OPTIONAL{?vlUUID cim:Equipment.AdditionalEquipmentContainer ?aecUUIDs .}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
GROUP BY ?vlUUID ?baseIRI ?name ?shortName ?description
|
|
77
|
+
?open ?aggregate ?normalOpen ?retained ?ecUUID ?bvUUID
|
|
78
78
|
`;
|
|
79
79
|
//# sourceMappingURL=Breaker.js.map
|
|
@@ -52,7 +52,7 @@ BusbarSection.sparqlQuery = `
|
|
|
52
52
|
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
53
53
|
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
54
54
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
55
|
-
PREFIX amp: <http://amprion.net/
|
|
55
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
56
56
|
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
57
57
|
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
58
58
|
|
|
@@ -19,7 +19,7 @@ Clamp.sparqlQuery = `
|
|
|
19
19
|
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
20
20
|
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
21
21
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
22
|
-
PREFIX amp: <http://amprion.net/
|
|
22
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
23
23
|
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
24
24
|
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
25
25
|
|
|
@@ -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/
|
|
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
|