@enervance/insight-cim-model 0.0.45 → 0.0.47
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/analysis/analysis-neplan/digi-ons.js +0 -12
- package/dist/analysis/analysis-neplan/digi-ons.js.map +1 -1
- package/dist/config/westnetz-neplan/callbacks/cb-connectivitynode.d.ts +5 -5
- package/dist/config/westnetz-neplan/callbacks/cb-connectivitynode.js +13 -8
- package/dist/config/westnetz-neplan/callbacks/cb-connectivitynode.js.map +1 -1
- package/dist/config/westnetz-neplan/callbacks/cb-psr.d.ts +1 -1
- package/dist/config/westnetz-neplan/callbacks/cb-psr.js +1 -1
- package/dist/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.d.ts +1 -1
- package/dist/config/westnetz-neplan/neplan-load.config.js +1 -1
- package/dist/config/westnetz-neplan/neplan-load.config.js.map +1 -1
- package/dist/config/westnetz-neplan/property-handler-westenergy.config.d.ts +3 -3
- package/dist/constants/cim-class-definition.js +0 -2
- package/dist/constants/cim-class-definition.js.map +1 -1
- package/dist/constants/cim-class-names.d.ts +1 -3
- package/dist/constants/cim-class-names.js +1 -3
- package/dist/constants/cim-class-names.js.map +1 -1
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.d.ts +1 -1
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js +1 -55
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js.map +1 -1
- package/dist/constants/init-data/ASSSET_OWNER.d.ts +1 -1
- package/dist/constants/init-data/ASSSET_OWNER.js +1 -18
- package/dist/constants/init-data/ASSSET_OWNER.js.map +1 -1
- package/dist/constants/init-data/PSR_TYPES.d.ts +1 -1
- package/dist/constants/init-data/PSR_TYPES.js +1 -99
- package/dist/constants/init-data/PSR_TYPES.js.map +1 -1
- package/dist/constants/init-data/RZ.d.ts +1 -1
- package/dist/constants/init-data/RZ.js +0 -54
- package/dist/constants/init-data/RZ.js.map +1 -1
- package/dist/constants/init-data/xml/settings.d.ts +1 -1
- package/dist/constants/init-data/xml/settings.js +0 -64
- package/dist/constants/init-data/xml/settings.js.map +1 -1
- package/dist/constants/util-init.js +0 -8
- package/dist/constants/util-init.js.map +1 -1
- package/dist/converter/integral7/converter-i7.d.ts +1 -1
- package/dist/converter/integral7/converter-i7.js +277 -171
- package/dist/converter/integral7/converter-i7.js.map +1 -1
- package/dist/converter/integral7/interface-i7/data-structures-i7.js.map +1 -1
- package/dist/converter/integral7/interface-i7/export-frame-i7.d.ts +0 -1
- package/dist/converter/integral7/interface-i7/export-frame-i7.js +8 -33
- package/dist/converter/integral7/interface-i7/export-frame-i7.js.map +1 -1
- package/dist/converter/integral7/model/integral/Multiplikationsfaktor.d.ts +7 -0
- package/dist/converter/integral7/model/integral/Multiplikationsfaktor.js +11 -0
- package/dist/converter/integral7/model/integral/Multiplikationsfaktor.js.map +1 -0
- package/dist/converter/integral7/model/integral/NetzObjektBez.d.ts +10 -0
- package/dist/converter/integral7/model/integral/NetzObjektBez.js +13 -0
- package/dist/converter/integral7/model/integral/NetzObjektBez.js.map +1 -0
- package/dist/converter/integral7/model/interfaces.d.ts +11 -0
- package/dist/converter/integral7/model/interfaces.js.map +1 -1
- package/dist/converter/integral7/sql/integral.sql.js +6 -6
- package/dist/converter/integral7/sql/integral.sql.js.map +1 -1
- package/dist/converter/integral7/utils-cgmes-export.js +22 -0
- package/dist/converter/integral7/utils-cgmes-export.js.map +1 -1
- package/dist/converter/integral7/utils.js +115 -33
- package/dist/converter/integral7/utils.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan-csv.js +42 -48
- package/dist/etl/etl-neplan/etl-neplan-csv.js.map +1 -1
- 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 -6
- package/dist/index.js +1 -11
- package/dist/index.js.map +1 -1
- package/dist/interfaces/model/core/IIdentifiedObject.d.ts +1 -1
- package/dist/interfaces/{persistence.interfaces.js → persistence-interfaces.js} +1 -1
- package/dist/interfaces/persistence-interfaces.js.map +1 -0
- package/dist/model/assetinfo/SwitchInfo.js +19 -19
- 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/Facility.js +36 -36
- package/dist/model/common/CoordinateSystem.js +17 -17
- package/dist/model/common/Location.js +22 -22
- package/dist/model/common/PositionPoint.js +25 -25
- package/dist/model/core/BaseVoltage.js +22 -22
- package/dist/model/core/Bay.d.ts +1 -1
- package/dist/model/core/Bay.js +2 -2
- package/dist/model/core/Bay.js.map +1 -1
- package/dist/model/core/ConductingEquipment.d.ts +1 -1
- package/dist/model/core/ConductingEquipment.js +2 -2
- package/dist/model/core/ConductingEquipment.js.map +1 -1
- package/dist/model/core/ConnectivityNode.js +24 -24
- package/dist/model/core/ConnectivityNodeContainer.d.ts +1 -1
- package/dist/model/core/ConnectivityNodeContainer.js +2 -2
- package/dist/model/core/ConnectivityNodeContainer.js.map +1 -1
- package/dist/model/core/Equipment.d.ts +1 -1
- package/dist/model/core/Equipment.js +3 -3
- package/dist/model/core/Equipment.js.map +1 -1
- package/dist/model/core/EquipmentContainer.d.ts +1 -1
- package/dist/model/core/EquipmentContainer.js +2 -2
- package/dist/model/core/EquipmentContainer.js.map +1 -1
- package/dist/model/core/Feeder.js +29 -29
- package/dist/model/core/IdentifiedObject.d.ts +3 -8
- package/dist/model/core/IdentifiedObject.js +1 -3
- package/dist/model/core/IdentifiedObject.js.map +1 -1
- package/dist/model/core/PowerSystemResource.d.ts +2 -2
- package/dist/model/core/PowerSystemResource.js +2 -2
- package/dist/model/core/PowerSystemResource.js.map +1 -1
- package/dist/model/core/Substation.d.ts +1 -2
- package/dist/model/core/Substation.js +2 -10
- package/dist/model/core/Substation.js.map +1 -1
- package/dist/model/core/Terminal.js +31 -31
- package/dist/model/core/VoltageLevel.d.ts +1 -1
- package/dist/model/core/VoltageLevel.js +2 -2
- package/dist/model/core/VoltageLevel.js.map +1 -1
- package/dist/model/dc/DCLine.js +17 -17
- package/dist/model/diagram/Diagram.d.ts +1 -1
- package/dist/model/diagram/Diagram.js +22 -22
- package/dist/model/diagram/Diagram.js.map +1 -1
- package/dist/model/diagram/DiagramObject.js +26 -26
- package/dist/model/diagram/DiagramObjectPoint.js +47 -47
- package/dist/model/equivalents/EquivalentInjection.js +15 -15
- package/dist/model/equivalents/EquivalentInjection.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js +22 -22
- 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 +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js +22 -22
- 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 +50 -50
- 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/wires/AMPRIONACLineSegment.d.ts +1 -1
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js +2 -2
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js.map +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVWireInfo.js +38 -38
- package/dist/model/extensions/enervance/wires/EVACLineSegment.d.ts +1 -1
- package/dist/model/extensions/enervance/wires/EVACLineSegment.js +2 -2
- package/dist/model/extensions/enervance/wires/EVACLineSegment.js.map +1 -1
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.d.ts +1 -1
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js +2 -2
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js.map +1 -1
- package/dist/model/extensions/integral/equivalents/INTEGRALEquivalentInjection.d.ts +9 -0
- package/dist/model/extensions/integral/equivalents/INTEGRALEquivalentInjection.js +32 -0
- package/dist/model/extensions/integral/equivalents/INTEGRALEquivalentInjection.js.map +1 -0
- package/dist/model/extensions/integral/loadmodel/INTEGRALConformLoad.d.ts +3 -2
- package/dist/model/extensions/integral/loadmodel/INTEGRALConformLoad.js +12 -2
- package/dist/model/extensions/integral/loadmodel/INTEGRALConformLoad.js.map +1 -1
- package/dist/model/extensions/integral/wires/INTEGRALAsynchronousMachine.d.ts +4 -0
- package/dist/model/extensions/integral/wires/INTEGRALAsynchronousMachine.js +16 -0
- package/dist/model/extensions/integral/wires/INTEGRALAsynchronousMachine.js.map +1 -1
- package/dist/model/extensions/integral/wires/INTEGRALExternalNetworkInjection.d.ts +6 -0
- package/dist/model/extensions/integral/wires/INTEGRALExternalNetworkInjection.js +22 -0
- package/dist/model/extensions/integral/wires/INTEGRALExternalNetworkInjection.js.map +1 -1
- package/dist/model/extensions/integral/wires/INTEGRALSynchronousMachine.d.ts +3 -0
- package/dist/model/extensions/integral/wires/INTEGRALSynchronousMachine.js +10 -0
- package/dist/model/extensions/integral/wires/INTEGRALSynchronousMachine.js.map +1 -1
- 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.d.ts +1 -1
- package/dist/model/extensions/neplan-westnetz/wires/WNACLineSegment.js +2 -2
- package/dist/model/extensions/neplan-westnetz/wires/WNACLineSegment.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.d.ts +1 -1
- package/dist/model/generation/GeneratingUnit.js +36 -36
- 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/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/topology/TopologicalNode.js +25 -25
- package/dist/model/wires/ACLineSegment.d.ts +1 -1
- package/dist/model/wires/ACLineSegment.js +2 -2
- package/dist/model/wires/ACLineSegment.js.map +1 -1
- package/dist/model/wires/BusbarSection.d.ts +1 -1
- package/dist/model/wires/BusbarSection.js +2 -2
- package/dist/model/wires/BusbarSection.js.map +1 -1
- package/dist/model/wires/Conductor.d.ts +1 -1
- package/dist/model/wires/Conductor.js +2 -2
- package/dist/model/wires/Conductor.js.map +1 -1
- package/dist/model/wires/Connector.d.ts +1 -1
- package/dist/model/wires/Connector.js +2 -2
- package/dist/model/wires/Connector.js.map +1 -1
- package/dist/model/wires/EnergySource.d.ts +1 -1
- package/dist/model/wires/EnergySource.js +2 -2
- package/dist/model/wires/EnergySource.js.map +1 -1
- package/dist/model/wires/PowerTransformer.js +27 -27
- package/dist/model/wires/PowerTransformerEnd.js +31 -31
- package/dist/model/wires/RegulatingControl.js +31 -31
- package/dist/model/wires/Switch.js +32 -32
- package/dist/model/wires/SynchronousMachine.d.ts +1 -1
- package/dist/util/sparql/sparql-utils.d.ts +1 -1
- package/dist/util/util-create.js +18 -25
- package/dist/util/util-create.js.map +1 -1
- package/package.json +1 -1
- package/dist/constants/cim.sourcesystem.d.ts +0 -6
- package/dist/constants/cim.sourcesystem.js +0 -11
- package/dist/constants/cim.sourcesystem.js.map +0 -1
- package/dist/factory/factory-interfaces.d.ts +0 -26
- package/dist/factory/factory-interfaces.js +0 -3
- package/dist/factory/factory-interfaces.js.map +0 -1
- package/dist/factory/object-factory.d.ts +0 -7
- package/dist/factory/object-factory.js +0 -37
- package/dist/factory/object-factory.js.map +0 -1
- package/dist/factory/sparql-factory.d.ts +0 -6
- package/dist/factory/sparql-factory.js +0 -16
- package/dist/factory/sparql-factory.js.map +0 -1
- package/dist/interfaces/persistence.interfaces.js.map +0 -1
- package/dist/model/alternate-models/AlternateModel.d.ts +0 -10
- package/dist/model/alternate-models/AlternateModel.js +0 -17
- package/dist/model/alternate-models/AlternateModel.js.map +0 -1
- package/dist/model/alternate-models/AlternateModelGroup.d.ts +0 -8
- package/dist/model/alternate-models/AlternateModelGroup.js +0 -22
- package/dist/model/alternate-models/AlternateModelGroup.js.map +0 -1
- package/dist/model/extensions/enervance/diagram/EVDiagram.d.ts +0 -5
- package/dist/model/extensions/enervance/diagram/EVDiagram.js +0 -17
- package/dist/model/extensions/enervance/diagram/EVDiagram.js.map +0 -1
- package/dist/model/extensions/enervance/model/EVModel.d.ts +0 -11
- package/dist/model/extensions/enervance/model/EVModel.js +0 -45
- package/dist/model/extensions/enervance/model/EVModel.js.map +0 -1
- package/dist/model/extensions/integral/wires/INTEGRALSynchronousMachine copy.d.ts +0 -8
- package/dist/model/extensions/integral/wires/INTEGRALSynchronousMachine copy.js +0 -34
- package/dist/model/extensions/integral/wires/INTEGRALSynchronousMachine copy.js.map +0 -1
- package/dist/model/generic-data-set/ChangeSet.d.ts +0 -8
- package/dist/model/generic-data-set/ChangeSet.js +0 -13
- package/dist/model/generic-data-set/ChangeSet.js.map +0 -1
- package/dist/model/generic-data-set/ChangeSetMember.d.ts +0 -8
- package/dist/model/generic-data-set/ChangeSetMember.js +0 -11
- package/dist/model/generic-data-set/ChangeSetMember.js.map +0 -1
- package/dist/model/generic-data-set/DataSet.d.ts +0 -10
- package/dist/model/generic-data-set/DataSet.js +0 -16
- package/dist/model/generic-data-set/DataSet.js.map +0 -1
- package/dist/model/generic-data-set/InstanceSet.d.ts +0 -8
- package/dist/model/generic-data-set/InstanceSet.js +0 -13
- package/dist/model/generic-data-set/InstanceSet.js.map +0 -1
- package/dist/model/generic-data-set/ObjectCreation.d.ts +0 -4
- package/dist/model/generic-data-set/ObjectCreation.js +0 -15
- package/dist/model/generic-data-set/ObjectCreation.js.map +0 -1
- package/dist/model/generic-data-set/ObjectDeletion.d.ts +0 -4
- package/dist/model/generic-data-set/ObjectDeletion.js +0 -15
- package/dist/model/generic-data-set/ObjectDeletion.js.map +0 -1
- package/dist/model/generic-data-set/ObjectModification.d.ts +0 -6
- package/dist/model/generic-data-set/ObjectModification.js +0 -11
- package/dist/model/generic-data-set/ObjectModification.js.map +0 -1
- package/dist/model/generic-data-set/ObjectReverseModification.d.ts +0 -6
- package/dist/model/generic-data-set/ObjectReverseModification.js +0 -11
- package/dist/model/generic-data-set/ObjectReverseModification.js.map +0 -1
- package/dist/model/model-operations/DatasetArg.d.ts +0 -6
- package/dist/model/model-operations/DatasetArg.js +0 -11
- package/dist/model/model-operations/DatasetArg.js.map +0 -1
- package/dist/model/model-operations/IncrementalDatasetArg.d.ts +0 -8
- package/dist/model/model-operations/IncrementalDatasetArg.js +0 -11
- package/dist/model/model-operations/IncrementalDatasetArg.js.map +0 -1
- package/dist/model/model-operations/IncrementalDatasetArgDescription.d.ts +0 -6
- package/dist/model/model-operations/IncrementalDatasetArgDescription.js +0 -12
- package/dist/model/model-operations/IncrementalDatasetArgDescription.js.map +0 -1
- package/dist/model/model-operations/ModelOperation.d.ts +0 -7
- package/dist/model/model-operations/ModelOperation.js +0 -11
- package/dist/model/model-operations/ModelOperation.js.map +0 -1
- package/dist/model/model-operations/ModelOperationArg.d.ts +0 -5
- package/dist/model/model-operations/ModelOperationArg.js +0 -11
- package/dist/model/model-operations/ModelOperationArg.js.map +0 -1
- package/dist/model/model-operations/ModelOperationArgDescription.d.ts +0 -8
- package/dist/model/model-operations/ModelOperationArgDescription.js +0 -11
- package/dist/model/model-operations/ModelOperationArgDescription.js.map +0 -1
- package/dist/model/model-operations/ModelOperationDescription.d.ts +0 -7
- package/dist/model/model-operations/ModelOperationDescription.js +0 -13
- package/dist/model/model-operations/ModelOperationDescription.js.map +0 -1
- package/dist/util/cim.model.util.d.ts +0 -4
- package/dist/util/cim.model.util.js +0 -257
- package/dist/util/cim.model.util.js.map +0 -1
- /package/dist/interfaces/{persistence.interfaces.d.ts → persistence-interfaces.d.ts} +0 -0
|
@@ -22,27 +22,27 @@ class AMPRIONServiceProvider extends AssetOrganisationRole_1.AssetOrganisationRo
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
exports.AMPRIONServiceProvider = AMPRIONServiceProvider;
|
|
25
|
-
AMPRIONServiceProvider.sparqlQuery = `
|
|
26
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
28
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
29
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
30
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
31
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
32
|
-
|
|
33
|
-
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
34
|
-
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
35
|
-
?name ?description
|
|
36
|
-
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
-
|
|
38
|
-
WHERE {
|
|
39
|
-
GRAPH<http://default/> {
|
|
40
|
-
?aoUUID rdf:type amp:AMPRIONServiceProvider .
|
|
41
|
-
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
-
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
-
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
25
|
+
AMPRIONServiceProvider.sparqlQuery = `
|
|
26
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
28
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
29
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
30
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
31
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
32
|
+
|
|
33
|
+
SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
|
|
34
|
+
(CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
|
|
35
|
+
?name ?description
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONServiceProvider .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
47
|
`;
|
|
48
48
|
//# sourceMappingURL=AMPRIONServiceProvider.js.map
|
|
@@ -52,54 +52,54 @@ class AMPRIONSpanField extends AssetContainer_1.AssetContainer {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
exports.AMPRIONSpanField = AMPRIONSpanField;
|
|
55
|
-
AMPRIONSpanField.sparqlQuery = `
|
|
56
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
57
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
58
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
59
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
60
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
61
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
62
|
-
|
|
63
|
-
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
64
|
-
?name ?shortName ?description
|
|
65
|
-
?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
|
|
66
|
-
(strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
|
|
67
|
-
|
|
68
|
-
?length ?lineAngle
|
|
69
|
-
(strafter(strafter(str(?frontTower), '#'), '_') AS ?frontTowerUUID)
|
|
70
|
-
(strafter(strafter(str(?backTower), '#'), '_') AS ?backTowerUUID)
|
|
71
|
-
(strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
|
|
72
|
-
(group_concat(STRAFTER(str(?oUUIDs), '#_');separator=',') as ?orgaRolesUUIDs)
|
|
73
|
-
WHERE {
|
|
74
|
-
GRAPH<http://default/> {
|
|
75
|
-
?mrid rdf:type amp:AMPRIONSpanField .
|
|
76
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
77
|
-
OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
|
|
78
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
79
|
-
|
|
80
|
-
OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
|
|
81
|
-
OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
|
|
82
|
-
OPTIONAL { ?mrid amp:Asset.number ?number .}
|
|
83
|
-
OPTIONAL { ?mrid amp:Asset.importance ?importance .}
|
|
84
|
-
OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
|
|
85
|
-
OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
|
|
86
|
-
OPTIONAL { ?mrid amp:Asset.condition ?condition .}
|
|
87
|
-
|
|
88
|
-
OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
|
|
89
|
-
|
|
90
|
-
OPTIONAL { ?mrid amp:AMPRIONSpanField.length ?length .}
|
|
91
|
-
OPTIONAL { ?mrid amp:AMPRIONSpanField.lineAngle ?lineAngle .}
|
|
92
|
-
OPTIONAL { ?mrid amp:AMPRIONSpanField.FrontTower ?frontTower .}
|
|
93
|
-
OPTIONAL { ?mrid amp:AMPRIONSpanField.BackTower ?backTower .}
|
|
94
|
-
|
|
95
|
-
OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
|
|
96
|
-
OPTIONAL { ?mrid cim:Asset.OrganisationRoles ?oUUIDs .}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
GROUP BY ?mrid ?name ?shortName ?description
|
|
100
|
-
?rcmValue ?installationDate ?number ?importance
|
|
101
|
-
?operatingLife ?exchangeYear ?condition ?statusEnum
|
|
102
|
-
?length ?lineAngle ?frontTower ?backTower ?aContainerUUID
|
|
103
|
-
|
|
55
|
+
AMPRIONSpanField.sparqlQuery = `
|
|
56
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
57
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
58
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
59
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
60
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
61
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
62
|
+
|
|
63
|
+
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
64
|
+
?name ?shortName ?description
|
|
65
|
+
?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
|
|
66
|
+
(strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
|
|
67
|
+
|
|
68
|
+
?length ?lineAngle
|
|
69
|
+
(strafter(strafter(str(?frontTower), '#'), '_') AS ?frontTowerUUID)
|
|
70
|
+
(strafter(strafter(str(?backTower), '#'), '_') AS ?backTowerUUID)
|
|
71
|
+
(strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
|
|
72
|
+
(group_concat(STRAFTER(str(?oUUIDs), '#_');separator=',') as ?orgaRolesUUIDs)
|
|
73
|
+
WHERE {
|
|
74
|
+
GRAPH<http://default/> {
|
|
75
|
+
?mrid rdf:type amp:AMPRIONSpanField .
|
|
76
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
77
|
+
OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
|
|
78
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
79
|
+
|
|
80
|
+
OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
|
|
81
|
+
OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
|
|
82
|
+
OPTIONAL { ?mrid amp:Asset.number ?number .}
|
|
83
|
+
OPTIONAL { ?mrid amp:Asset.importance ?importance .}
|
|
84
|
+
OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
|
|
85
|
+
OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
|
|
86
|
+
OPTIONAL { ?mrid amp:Asset.condition ?condition .}
|
|
87
|
+
|
|
88
|
+
OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
|
|
89
|
+
|
|
90
|
+
OPTIONAL { ?mrid amp:AMPRIONSpanField.length ?length .}
|
|
91
|
+
OPTIONAL { ?mrid amp:AMPRIONSpanField.lineAngle ?lineAngle .}
|
|
92
|
+
OPTIONAL { ?mrid amp:AMPRIONSpanField.FrontTower ?frontTower .}
|
|
93
|
+
OPTIONAL { ?mrid amp:AMPRIONSpanField.BackTower ?backTower .}
|
|
94
|
+
|
|
95
|
+
OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
|
|
96
|
+
OPTIONAL { ?mrid cim:Asset.OrganisationRoles ?oUUIDs .}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
GROUP BY ?mrid ?name ?shortName ?description
|
|
100
|
+
?rcmValue ?installationDate ?number ?importance
|
|
101
|
+
?operatingLife ?exchangeYear ?condition ?statusEnum
|
|
102
|
+
?length ?lineAngle ?frontTower ?backTower ?aContainerUUID
|
|
103
|
+
|
|
104
104
|
`;
|
|
105
105
|
//# sourceMappingURL=AMPRIONSpanField.js.map
|
|
@@ -33,26 +33,26 @@ class AMPRIONState extends IdentifiedObject_1.IdentifiedObject {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
exports.AMPRIONState = AMPRIONState;
|
|
36
|
-
AMPRIONState.sparqlQuery = `
|
|
37
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
38
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
39
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
40
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
41
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
42
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
43
|
-
|
|
44
|
-
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
45
|
-
(CONCAT(STRBEFORE(str(?mrid), '#_'), '#_') AS ?baseIRI)
|
|
46
|
-
?name ?description
|
|
47
|
-
(strafter(strafter(str(?cUUID), '#'), '_') AS ?countryUUID)
|
|
48
|
-
|
|
49
|
-
WHERE {
|
|
50
|
-
GRAPH<http://default/> {
|
|
51
|
-
?mrid rdf:type amp:AMPRIONState .
|
|
52
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
53
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
54
|
-
OPTIONAL { ?mrid amp:AMPRIONState.Country ?cUUID .}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
36
|
+
AMPRIONState.sparqlQuery = `
|
|
37
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
38
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
39
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
40
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
41
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
42
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
43
|
+
|
|
44
|
+
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
45
|
+
(CONCAT(STRBEFORE(str(?mrid), '#_'), '#_') AS ?baseIRI)
|
|
46
|
+
?name ?description
|
|
47
|
+
(strafter(strafter(str(?cUUID), '#'), '_') AS ?countryUUID)
|
|
48
|
+
|
|
49
|
+
WHERE {
|
|
50
|
+
GRAPH<http://default/> {
|
|
51
|
+
?mrid rdf:type amp:AMPRIONState .
|
|
52
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
53
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
54
|
+
OPTIONAL { ?mrid amp:AMPRIONState.Country ?cUUID .}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
57
|
`;
|
|
58
58
|
//# sourceMappingURL=AMPRIONState.js.map
|
|
@@ -67,55 +67,55 @@ class AMPRIONTower extends Structure_1.Structure {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
exports.AMPRIONTower = AMPRIONTower;
|
|
70
|
-
AMPRIONTower.sparqlQuery = `
|
|
71
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
72
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
73
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
74
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
75
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
76
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
77
|
-
|
|
78
|
-
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
79
|
-
?name ?description ?shortName
|
|
80
|
-
?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear ?condition
|
|
81
|
-
(strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
?isPortal ?foundation ?lastCoating ?reliability ?lastInspection ?nextInspection ?isCrossingTower
|
|
85
|
-
(strafter(strafter(str(?corrosionProtectionEnum), '#'), '.') AS ?corrosionProtection)
|
|
86
|
-
(strafter(strafter(str(?corrosionEnum), '#'), '.') AS ?corrosion)
|
|
87
|
-
|
|
88
|
-
(strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
|
|
89
|
-
|
|
90
|
-
WHERE {
|
|
91
|
-
GRAPH<http://default/> {
|
|
92
|
-
?mrid rdf:type cim:Tower .
|
|
93
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
94
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
95
|
-
OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
|
|
96
|
-
|
|
97
|
-
OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
|
|
98
|
-
OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
|
|
99
|
-
OPTIONAL { ?mrid amp:Asset.importance ?importance .}
|
|
100
|
-
OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
|
|
101
|
-
OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
|
|
102
|
-
OPTIONAL { ?mrid amp:Asset.condition ?condition .}
|
|
103
|
-
OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
|
|
104
|
-
|
|
105
|
-
OPTIONAL { ?mrid amp:AMPRIONTower.isPortal ?isPortal .}
|
|
106
|
-
OPTIONAL { ?mrid amp:AMPRIONTower.foundation ?foundation .}
|
|
107
|
-
OPTIONAL { ?mrid amp:AMPRIONTower.lastCoating ?lastCoating .}
|
|
108
|
-
OPTIONAL { ?mrid amp:AMPRIONTower.reliability ?reliability .}
|
|
109
|
-
OPTIONAL { ?mrid amp:AMPRIONTower.lastInspection ?lastInspection .}
|
|
110
|
-
OPTIONAL { ?mrid amp:AMPRIONTower.nextInspection ?nextInspection .}
|
|
111
|
-
OPTIONAL { ?mrid amp:AMPRIONTower.isCrossingTower ?isCrossingTower .}
|
|
112
|
-
|
|
113
|
-
OPTIONAL { ?mrid amp:AMPRIONTower.corrosionProtection ?corrosionProtectionEnum .}
|
|
114
|
-
OPTIONAL { ?mrid amp:AMPRIONTower.corrosion ?corrosionEnum .}
|
|
115
|
-
|
|
116
|
-
OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
}
|
|
70
|
+
AMPRIONTower.sparqlQuery = `
|
|
71
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
72
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
73
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
74
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
75
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
76
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
77
|
+
|
|
78
|
+
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
79
|
+
?name ?description ?shortName
|
|
80
|
+
?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear ?condition
|
|
81
|
+
(strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
?isPortal ?foundation ?lastCoating ?reliability ?lastInspection ?nextInspection ?isCrossingTower
|
|
85
|
+
(strafter(strafter(str(?corrosionProtectionEnum), '#'), '.') AS ?corrosionProtection)
|
|
86
|
+
(strafter(strafter(str(?corrosionEnum), '#'), '.') AS ?corrosion)
|
|
87
|
+
|
|
88
|
+
(strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
|
|
89
|
+
|
|
90
|
+
WHERE {
|
|
91
|
+
GRAPH<http://default/> {
|
|
92
|
+
?mrid rdf:type cim:Tower .
|
|
93
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
94
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
95
|
+
OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
|
|
96
|
+
|
|
97
|
+
OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
|
|
98
|
+
OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
|
|
99
|
+
OPTIONAL { ?mrid amp:Asset.importance ?importance .}
|
|
100
|
+
OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
|
|
101
|
+
OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
|
|
102
|
+
OPTIONAL { ?mrid amp:Asset.condition ?condition .}
|
|
103
|
+
OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
|
|
104
|
+
|
|
105
|
+
OPTIONAL { ?mrid amp:AMPRIONTower.isPortal ?isPortal .}
|
|
106
|
+
OPTIONAL { ?mrid amp:AMPRIONTower.foundation ?foundation .}
|
|
107
|
+
OPTIONAL { ?mrid amp:AMPRIONTower.lastCoating ?lastCoating .}
|
|
108
|
+
OPTIONAL { ?mrid amp:AMPRIONTower.reliability ?reliability .}
|
|
109
|
+
OPTIONAL { ?mrid amp:AMPRIONTower.lastInspection ?lastInspection .}
|
|
110
|
+
OPTIONAL { ?mrid amp:AMPRIONTower.nextInspection ?nextInspection .}
|
|
111
|
+
OPTIONAL { ?mrid amp:AMPRIONTower.isCrossingTower ?isCrossingTower .}
|
|
112
|
+
|
|
113
|
+
OPTIONAL { ?mrid amp:AMPRIONTower.corrosionProtection ?corrosionProtectionEnum .}
|
|
114
|
+
OPTIONAL { ?mrid amp:AMPRIONTower.corrosion ?corrosionEnum .}
|
|
115
|
+
|
|
116
|
+
OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
|
|
117
|
+
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
120
|
`;
|
|
121
121
|
//# sourceMappingURL=AMPRIONTower.js.map
|
|
@@ -55,73 +55,73 @@ class AMPRIONWire extends AssetContainer_1.AssetContainer {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
exports.AMPRIONWire = AMPRIONWire;
|
|
58
|
-
AMPRIONWire.sparqlQuery = `
|
|
59
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
60
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
61
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
62
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
63
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
64
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
65
|
-
|
|
66
|
-
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
67
|
-
?name ?shortName ?description
|
|
68
|
-
?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
|
|
69
|
-
(strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
|
|
70
|
-
?frontConstructionPart ?frontMountingPoint
|
|
71
|
-
?backConstructionPart ?backMountingPoint
|
|
72
|
-
?maxOperatingTemperature ?phaseWireCount
|
|
73
|
-
?tension ?tensionReadjustment
|
|
74
|
-
?system ?absorptivity ?emissivity
|
|
75
|
-
(strafter(strafter(str(?isolationEnum), '#'), '.') AS ?isolation)
|
|
76
|
-
(strafter(strafter(str(?phaseEnum), '#'), '.') AS ?phase)
|
|
77
|
-
(strafter(strafter(str(?operatingTypeEnum), '#'), '.') AS ?operatingType)
|
|
78
|
-
(strafter(strafter(str(?layoutEnum), '#'), '.') AS ?layout)
|
|
79
|
-
|
|
80
|
-
(strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
|
|
81
|
-
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
|
|
82
|
-
|
|
83
|
-
WHERE {
|
|
84
|
-
GRAPH<http://default/> {
|
|
85
|
-
?mrid rdf:type amp:AMPRIONWire .
|
|
86
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
87
|
-
OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
|
|
88
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
89
|
-
|
|
90
|
-
OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
|
|
91
|
-
OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
|
|
92
|
-
OPTIONAL { ?mrid amp:Asset.number ?number .}
|
|
93
|
-
OPTIONAL { ?mrid amp:Asset.importance ?importance .}
|
|
94
|
-
OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
|
|
95
|
-
OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
|
|
96
|
-
OPTIONAL { ?mrid amp:Asset.condition ?condition .}
|
|
97
|
-
|
|
98
|
-
OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
|
|
99
|
-
|
|
100
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.backConstructionPart ?backConstructionPart .}
|
|
101
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.backMountingPoint ?backMountingPoint .}
|
|
102
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.frontConstructionPart ?frontConstructionPart .}
|
|
103
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.frontMountingPoint ?frontMountingPoint .}
|
|
104
|
-
|
|
105
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.maxOperatingTemperature ?maxOperatingTemperature .}
|
|
106
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.phaseWireCount ?phaseWireCount .}
|
|
107
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.tension ?tension .}
|
|
108
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.tensionReadjustment ?tensionReadjustment .}
|
|
109
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.system ?system .}
|
|
110
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.absorptivity ?absorptivity .}
|
|
111
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.emissivity ?emissivity .}
|
|
112
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.isolation ?isolationEnum .}
|
|
113
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.phase ?phaseEnum .}
|
|
114
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.operatingType ?operatingTypeEnum .}
|
|
115
|
-
OPTIONAL { ?mrid amp:AMPRIONWire.layout ?layoutEnum .}
|
|
116
|
-
|
|
117
|
-
OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
|
|
118
|
-
OPTIONAL { ?mrid cim:Asset.PowerSystemResources ?psrUUIDs . }
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
GROUP BY ?mrid ?name ?shortName ?description ?rcmValue ?installationDate ?number ?importance ?operatingLife
|
|
122
|
-
?exchangeYear ?condition ?statusEnum ?backConstructionPart ?backMountingPoint ?frontConstructionPart
|
|
123
|
-
?frontMountingPoint ?maxOperatingTemperature ?phaseWireCount ?phaseWireCount ?tension
|
|
124
|
-
?tensionReadjustment ?system ?absorptivity ?emissivity ?isolationEnum ?phaseEnum ?operatingTypeEnum
|
|
125
|
-
?layoutEnum ?aContainerUUID
|
|
58
|
+
AMPRIONWire.sparqlQuery = `
|
|
59
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
60
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
61
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
62
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
63
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
64
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
65
|
+
|
|
66
|
+
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
67
|
+
?name ?shortName ?description
|
|
68
|
+
?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
|
|
69
|
+
(strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
|
|
70
|
+
?frontConstructionPart ?frontMountingPoint
|
|
71
|
+
?backConstructionPart ?backMountingPoint
|
|
72
|
+
?maxOperatingTemperature ?phaseWireCount
|
|
73
|
+
?tension ?tensionReadjustment
|
|
74
|
+
?system ?absorptivity ?emissivity
|
|
75
|
+
(strafter(strafter(str(?isolationEnum), '#'), '.') AS ?isolation)
|
|
76
|
+
(strafter(strafter(str(?phaseEnum), '#'), '.') AS ?phase)
|
|
77
|
+
(strafter(strafter(str(?operatingTypeEnum), '#'), '.') AS ?operatingType)
|
|
78
|
+
(strafter(strafter(str(?layoutEnum), '#'), '.') AS ?layout)
|
|
79
|
+
|
|
80
|
+
(strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
|
|
81
|
+
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
|
|
82
|
+
|
|
83
|
+
WHERE {
|
|
84
|
+
GRAPH<http://default/> {
|
|
85
|
+
?mrid rdf:type amp:AMPRIONWire .
|
|
86
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
87
|
+
OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
|
|
88
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
89
|
+
|
|
90
|
+
OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
|
|
91
|
+
OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
|
|
92
|
+
OPTIONAL { ?mrid amp:Asset.number ?number .}
|
|
93
|
+
OPTIONAL { ?mrid amp:Asset.importance ?importance .}
|
|
94
|
+
OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
|
|
95
|
+
OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
|
|
96
|
+
OPTIONAL { ?mrid amp:Asset.condition ?condition .}
|
|
97
|
+
|
|
98
|
+
OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
|
|
99
|
+
|
|
100
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.backConstructionPart ?backConstructionPart .}
|
|
101
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.backMountingPoint ?backMountingPoint .}
|
|
102
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.frontConstructionPart ?frontConstructionPart .}
|
|
103
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.frontMountingPoint ?frontMountingPoint .}
|
|
104
|
+
|
|
105
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.maxOperatingTemperature ?maxOperatingTemperature .}
|
|
106
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.phaseWireCount ?phaseWireCount .}
|
|
107
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.tension ?tension .}
|
|
108
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.tensionReadjustment ?tensionReadjustment .}
|
|
109
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.system ?system .}
|
|
110
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.absorptivity ?absorptivity .}
|
|
111
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.emissivity ?emissivity .}
|
|
112
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.isolation ?isolationEnum .}
|
|
113
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.phase ?phaseEnum .}
|
|
114
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.operatingType ?operatingTypeEnum .}
|
|
115
|
+
OPTIONAL { ?mrid amp:AMPRIONWire.layout ?layoutEnum .}
|
|
116
|
+
|
|
117
|
+
OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
|
|
118
|
+
OPTIONAL { ?mrid cim:Asset.PowerSystemResources ?psrUUIDs . }
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
GROUP BY ?mrid ?name ?shortName ?description ?rcmValue ?installationDate ?number ?importance ?operatingLife
|
|
122
|
+
?exchangeYear ?condition ?statusEnum ?backConstructionPart ?backMountingPoint ?frontConstructionPart
|
|
123
|
+
?frontMountingPoint ?maxOperatingTemperature ?phaseWireCount ?phaseWireCount ?tension
|
|
124
|
+
?tensionReadjustment ?system ?absorptivity ?emissivity ?isolationEnum ?phaseEnum ?operatingTypeEnum
|
|
125
|
+
?layoutEnum ?aContainerUUID
|
|
126
126
|
`;
|
|
127
127
|
//# sourceMappingURL=AMPRIONWire.js.map
|
|
@@ -66,31 +66,31 @@ class AMPRIONBay extends Bay_1.Bay {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
exports.AMPRIONBay = AMPRIONBay;
|
|
69
|
-
AMPRIONBay.sparqlQuery = `
|
|
70
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
71
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
72
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
73
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
74
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
75
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
76
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
77
|
-
|
|
78
|
-
SELECT (strafter(strafter(str(?bayUUID), '#'), '_') AS ?uuid)
|
|
79
|
-
(CONCAT(STRBEFORE(str(?bayUUID), '#_'), '#_') AS ?baseIRI)
|
|
80
|
-
?name ?shortName ?description ?number
|
|
81
|
-
(strafter(strafter(str(?vlUUID), '#'), '_') AS ?voltageLevelUUID)
|
|
82
|
-
WHERE {
|
|
83
|
-
GRAPH <http://default/>{
|
|
84
|
-
?bayUUID rdf:type cim:Bay .
|
|
85
|
-
OPTIONAL {?bayUUID cim:IdentifiedObject.name ?name . }
|
|
86
|
-
OPTIONAL {?bayUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
87
|
-
OPTIONAL {?bayUUID cim:IdentifiedObject.description ?description .}
|
|
88
|
-
|
|
89
|
-
OPTIONAL {?bayUUID cim:Bay.VoltageLevel ?vlUUID}
|
|
90
|
-
|
|
91
|
-
OPTIONAL {?bayUUID amp:Bay.number ?number}
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
}
|
|
69
|
+
AMPRIONBay.sparqlQuery = `
|
|
70
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
71
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
72
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
73
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
74
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
75
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
76
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
77
|
+
|
|
78
|
+
SELECT (strafter(strafter(str(?bayUUID), '#'), '_') AS ?uuid)
|
|
79
|
+
(CONCAT(STRBEFORE(str(?bayUUID), '#_'), '#_') AS ?baseIRI)
|
|
80
|
+
?name ?shortName ?description ?number
|
|
81
|
+
(strafter(strafter(str(?vlUUID), '#'), '_') AS ?voltageLevelUUID)
|
|
82
|
+
WHERE {
|
|
83
|
+
GRAPH <http://default/>{
|
|
84
|
+
?bayUUID rdf:type cim:Bay .
|
|
85
|
+
OPTIONAL {?bayUUID cim:IdentifiedObject.name ?name . }
|
|
86
|
+
OPTIONAL {?bayUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
87
|
+
OPTIONAL {?bayUUID cim:IdentifiedObject.description ?description .}
|
|
88
|
+
|
|
89
|
+
OPTIONAL {?bayUUID cim:Bay.VoltageLevel ?vlUUID}
|
|
90
|
+
|
|
91
|
+
OPTIONAL {?bayUUID amp:Bay.number ?number}
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
95
|
`;
|
|
96
96
|
//# sourceMappingURL=AMPRIONBay.js.map
|
|
@@ -70,30 +70,30 @@ class AMPRIONSubstation extends Substation_1.Substation {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
exports.AMPRIONSubstation = AMPRIONSubstation;
|
|
73
|
-
AMPRIONSubstation.sparqlQuery = `
|
|
74
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
75
|
-
|
|
76
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
77
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
78
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
79
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
80
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
81
|
-
|
|
82
|
-
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
83
|
-
?name ?shortName ?description ?isVirtual
|
|
84
|
-
(STRAFTER(str(?lUUID), '#_') AS ?locationUUID)
|
|
85
|
-
?number
|
|
86
|
-
|
|
87
|
-
WHERE {
|
|
88
|
-
GRAPH <http://default/> {
|
|
89
|
-
?mrid rdf:type cim:Substation .
|
|
90
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
91
|
-
OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
|
|
92
|
-
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
93
|
-
OPTIONAL { ?mrid amp:Substation.number ?number .}
|
|
94
|
-
OPTIONAL { ?mrid amp:EquipmentContainer.isVirtual ?isVirtual .}
|
|
95
|
-
OPTIONAL { ?mrid cim:PowerSystemResource.Location ?lUUID . }
|
|
96
|
-
}
|
|
97
|
-
}
|
|
73
|
+
AMPRIONSubstation.sparqlQuery = `
|
|
74
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
75
|
+
|
|
76
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
77
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
78
|
+
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
79
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
80
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
81
|
+
|
|
82
|
+
SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
|
|
83
|
+
?name ?shortName ?description ?isVirtual
|
|
84
|
+
(STRAFTER(str(?lUUID), '#_') AS ?locationUUID)
|
|
85
|
+
?number
|
|
86
|
+
|
|
87
|
+
WHERE {
|
|
88
|
+
GRAPH <http://default/> {
|
|
89
|
+
?mrid rdf:type cim:Substation .
|
|
90
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
|
|
91
|
+
OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
|
|
92
|
+
OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
|
|
93
|
+
OPTIONAL { ?mrid amp:Substation.number ?number .}
|
|
94
|
+
OPTIONAL { ?mrid amp:EquipmentContainer.isVirtual ?isVirtual .}
|
|
95
|
+
OPTIONAL { ?mrid cim:PowerSystemResource.Location ?lUUID . }
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
98
|
`;
|
|
99
99
|
//# sourceMappingURL=AMPRIONSubstation.js.map
|
|
@@ -4,7 +4,7 @@ import { AMPRIONModel } from "../model/AMPRIONModel";
|
|
|
4
4
|
export declare class AMPRIONACLineSegment extends ACLineSegment {
|
|
5
5
|
assetPSRs: Map<string, Asset>;
|
|
6
6
|
assetPSRUUIDs: string[];
|
|
7
|
-
constructor(uuid?: string, name?: string, shortName?: string, description?: string, length?: number);
|
|
7
|
+
constructor(uuid?: string, name?: string, shortName?: string, description?: string, length?: number, aggregate?: boolean);
|
|
8
8
|
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
9
9
|
protected resolveAttributesFusekiJSON(value: any): void;
|
|
10
10
|
resolveParsedAssociations(cimModel: AMPRIONModel): void;
|
|
@@ -5,8 +5,8 @@ const utils_1 = require("../../../../util/utils");
|
|
|
5
5
|
const Asset_1 = require("../../../assets/Asset");
|
|
6
6
|
const ACLineSegment_1 = require("../../../wires/ACLineSegment");
|
|
7
7
|
class AMPRIONACLineSegment extends ACLineSegment_1.ACLineSegment {
|
|
8
|
-
constructor(uuid, name, shortName, description, length) {
|
|
9
|
-
super(uuid, name, shortName, description, length);
|
|
8
|
+
constructor(uuid, name, shortName, description, length, aggregate) {
|
|
9
|
+
super(uuid, name, shortName, description, length, aggregate);
|
|
10
10
|
this.assetPSRs = new Map();
|
|
11
11
|
}
|
|
12
12
|
static resolveClassFusekiJSON(data, cimModel) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AMPRIONACLineSegment.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/wires/AMPRIONACLineSegment.ts"],"names":[],"mappings":";;;AAAA,kDAAyE;AACzE,iDAA8C;AAC9C,gEAA6D;AAG7D,MAAa,oBAAqB,SAAQ,6BAAa;IAKnD,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB,EAAE,MAAe;
|
|
1
|
+
{"version":3,"file":"AMPRIONACLineSegment.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/wires/AMPRIONACLineSegment.ts"],"names":[],"mappings":";;;AAAA,kDAAyE;AACzE,iDAA8C;AAC9C,gEAA6D;AAG7D,MAAa,oBAAqB,SAAQ,6BAAa;IAKnD,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB,EAAE,MAAe,EAAE,SAAmB;QACpH,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;QAJjE,cAAS,GAAuB,IAAI,GAAG,EAAE,CAAC;IAK1C,CAAC;IAGM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QAClE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC5C,MAAM,aAAa,GAAG,IAAI,oBAAoB,EAAE,CAAC;YACjD,aAAa,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YACjD,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC7C,CAAC,EAAE;IACP,CAAC;IAGS,2BAA2B,CAAC,KAAU;QAC5C,KAAK,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;QAEzC,IAAI,CAAC,aAAa,GAAG,6BAAqB,CAAC,gBAAQ,CAAC,KAAK,EAAE,YAAY,CAAC,EAAE,GAAG,CAAC,CAAC;IACnF,CAAC;IAGM,yBAAyB,CAAC,QAAsB;QACnD,KAAK,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC;QAE1C,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,aAAa,EAAG;YACzC,MAAM,YAAY,GAAG,QAAQ,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;YACnD,IAAI,YAAY,IAAI,YAAY,YAAY,aAAK,EAAG;gBAChD,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;aACvD;SACJ;IACL,CAAC;IAGM,MAAM,CAAC,cAAc,CAAC,QAAgB;QACzC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACrB,OAAO,oBAAoB,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAClF;QACD,OAAO,oBAAoB,CAAC,WAAW,CAAC;IAC5C,CAAC;;AA3CL,oDAsFC;AAxCiB,gCAAW,GAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsCvB,CAAC"}
|