@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
|
@@ -106,41 +106,41 @@ class SeriesCompensator extends ConductingEquipment_1.ConductingEquipment {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
exports.SeriesCompensator = SeriesCompensator;
|
|
109
|
-
SeriesCompensator.sparqlQuery = `
|
|
110
|
-
PREFIX cim:\t \t\t<http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
111
|
-
PREFIX enervance:\t<http://enervance.com/CIM/Extensions#>
|
|
112
|
-
PREFIX entsoe:\t \t<http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
113
|
-
PREFIX rdf:\t \t\t<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
114
|
-
PREFIX amp:\t \t\t<http://amprion.net/
|
|
115
|
-
PREFIX apf:\t \t\t<http://jena.hpl.hp.com/ARQ/property#>
|
|
116
|
-
PREFIX afn:\t \t\t<http://jena.apache.org/ARQ/function#>
|
|
117
|
-
|
|
118
|
-
SELECT (strafter(strafter(str(?MRID), "#"), "_") AS ?uuid)
|
|
119
|
-
?name ?shortName ?description ?r ?x ?r0 ?x0 ?varistorPresent ?varistorRatedCurrent ?varistorVoltageThreshold
|
|
120
|
-
(strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
|
|
121
|
-
(strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
|
|
122
|
-
(strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
|
|
123
|
-
WHERE {
|
|
124
|
-
GRAPH <http://default/>{
|
|
125
|
-
?MRID rdf:type cim:SeriesCompensator .
|
|
126
|
-
OPTIONAL{?MRID cim:IdentifiedObject.name ?name .}
|
|
127
|
-
OPTIONAL{?MRID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
128
|
-
OPTIONAL{?MRID cim:IdentifiedObject.description ?description .}
|
|
129
|
-
OPTIONAL{?MRID cim:Equipment.aggregate ?aggregate .}
|
|
130
|
-
OPTIONAL{?MRID cim:SeriesCompensator.r ?r .}
|
|
131
|
-
OPTIONAL{?MRID cim:SeriesCompensator.x ?x .}
|
|
132
|
-
OPTIONAL{?MRID cim:SeriesCompensator.r0 ?r0 .}
|
|
133
|
-
OPTIONAL{?MRID cim:SeriesCompensator.x0 ?x0 .}
|
|
134
|
-
|
|
135
|
-
OPTIONAL{?MRID cim:SeriesCompensator.varistorPresent ?varistorPresent .}
|
|
136
|
-
OPTIONAL{?MRID cim:SeriesCompensator.varistorRatedCurrent ?varistorRatedCurrent
|
|
137
|
-
OPTIONAL{?MRID cim:SeriesCompensator.varistorVoltageThreshold ?varistorVoltageThreshold .}
|
|
138
|
-
|
|
139
|
-
OPTIONAL{?MRID cim:PowerSystemResource.PSRType ?ptUUID .}
|
|
140
|
-
OPTIONAL{?MRID cim:ConductingEquipment.BaseVoltage ?bvUUID .}
|
|
141
|
-
OPTIONAL{?MRID cim:Equipment.EquipmentContainer ?ecUUID .}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
109
|
+
SeriesCompensator.sparqlQuery = `
|
|
110
|
+
PREFIX cim:\t \t\t<http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
111
|
+
PREFIX enervance:\t<http://enervance.com/CIM/Extensions#>
|
|
112
|
+
PREFIX entsoe:\t \t<http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
113
|
+
PREFIX rdf:\t \t\t<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
114
|
+
PREFIX amp:\t \t\t<http://amprion.net/2018/cim_extensions#>
|
|
115
|
+
PREFIX apf:\t \t\t<http://jena.hpl.hp.com/ARQ/property#>
|
|
116
|
+
PREFIX afn:\t \t\t<http://jena.apache.org/ARQ/function#>
|
|
117
|
+
|
|
118
|
+
SELECT (strafter(strafter(str(?MRID), "#"), "_") AS ?uuid)
|
|
119
|
+
?name ?shortName ?description ?r ?x ?r0 ?x0 ?varistorPresent ?varistorRatedCurrent ?varistorVoltageThreshold
|
|
120
|
+
(strafter(strafter(str(?bvUUID), '#'), '_') AS ?baseVoltageUUID)
|
|
121
|
+
(strafter(strafter(str(?ptUUID), '#'), '_') AS ?psrTypeUUID)
|
|
122
|
+
(strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
|
|
123
|
+
WHERE {
|
|
124
|
+
GRAPH <http://default/>{
|
|
125
|
+
?MRID rdf:type cim:SeriesCompensator .
|
|
126
|
+
OPTIONAL{?MRID cim:IdentifiedObject.name ?name .}
|
|
127
|
+
OPTIONAL{?MRID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
128
|
+
OPTIONAL{?MRID cim:IdentifiedObject.description ?description .}
|
|
129
|
+
OPTIONAL{?MRID cim:Equipment.aggregate ?aggregate .}
|
|
130
|
+
OPTIONAL{?MRID cim:SeriesCompensator.r ?r .}
|
|
131
|
+
OPTIONAL{?MRID cim:SeriesCompensator.x ?x .}
|
|
132
|
+
OPTIONAL{?MRID cim:SeriesCompensator.r0 ?r0 .}
|
|
133
|
+
OPTIONAL{?MRID cim:SeriesCompensator.x0 ?x0 .}
|
|
134
|
+
|
|
135
|
+
OPTIONAL{?MRID cim:SeriesCompensator.varistorPresent ?varistorPresent .}
|
|
136
|
+
OPTIONAL{?MRID cim:SeriesCompensator.varistorRatedCurrent ?varistorRatedCurrent
|
|
137
|
+
OPTIONAL{?MRID cim:SeriesCompensator.varistorVoltageThreshold ?varistorVoltageThreshold .}
|
|
138
|
+
|
|
139
|
+
OPTIONAL{?MRID cim:PowerSystemResource.PSRType ?ptUUID .}
|
|
140
|
+
OPTIONAL{?MRID cim:ConductingEquipment.BaseVoltage ?bvUUID .}
|
|
141
|
+
OPTIONAL{?MRID cim:Equipment.EquipmentContainer ?ecUUID .}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
145
|
`;
|
|
146
146
|
//# sourceMappingURL=SeriesCompensator.js.map
|
|
@@ -141,37 +141,37 @@ class Switch extends ConductingEquipment_1.ConductingEquipment {
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
exports.Switch = Switch;
|
|
144
|
-
Switch.sparqlQuery = `
|
|
145
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
146
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
147
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
148
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
149
|
-
PREFIX amp: <http://amprion.net/
|
|
150
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
151
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
152
|
-
|
|
153
|
-
SELECT (strafter(strafter(str(?dUUID), '#'), '_') AS ?uuid)
|
|
154
|
-
(CONCAT(STRBEFORE(STR(?dUUID), '#_'), '#_') AS ?baseIRI)
|
|
155
|
-
?name ?shortName ?description ?open ?aggregate ?normalOpen ?retained
|
|
156
|
-
(strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
|
|
157
|
-
(group_concat(STRAFTER(str(?aecUUIDs), '#_');separator=',') as ?additionalEquipmentContainerUUIDs)
|
|
158
|
-
|
|
159
|
-
WHERE {
|
|
160
|
-
GRAPH <http://default/>{
|
|
161
|
-
?dUUID rdf:type cim:Switch .
|
|
162
|
-
OPTIONAL{?dUUID cim:IdentifiedObject.name ?name .}
|
|
163
|
-
OPTIONAL{?dUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
164
|
-
OPTIONAL{?dUUID cim:IdentifiedObject.description ?description .}
|
|
165
|
-
OPTIONAL{?dUUID cim:Equipment.aggregate ?aggregate .}
|
|
166
|
-
OPTIONAL{?dUUID cim:Switch.normalOpen ?normalOpen .}
|
|
167
|
-
OPTIONAL{?dUUID cim:Switch.retained ?retained .}
|
|
168
|
-
OPTIONAL{?dUUID cim:Switch.open ?open .}
|
|
169
|
-
OPTIONAL{?dUUID cim:Equipment.EquipmentContainer ?ecUUID .}
|
|
170
|
-
OPTIONAL{?dUUID cim:Equipment.AdditionalEquipmentContainer ?aecUUIDs .}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
GROUP BY ?dUUID ?baseIRI ?name ?shortName ?description
|
|
174
|
-
?open ?aggregate ?normalOpen ?retained
|
|
175
|
-
?ecUUID
|
|
144
|
+
Switch.sparqlQuery = `
|
|
145
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
146
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
147
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
148
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
149
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
150
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
151
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
152
|
+
|
|
153
|
+
SELECT (strafter(strafter(str(?dUUID), '#'), '_') AS ?uuid)
|
|
154
|
+
(CONCAT(STRBEFORE(STR(?dUUID), '#_'), '#_') AS ?baseIRI)
|
|
155
|
+
?name ?shortName ?description ?open ?aggregate ?normalOpen ?retained
|
|
156
|
+
(strafter(strafter(str(?ecUUID), '#'), '_') AS ?equipmentContainerUUID)
|
|
157
|
+
(group_concat(STRAFTER(str(?aecUUIDs), '#_');separator=',') as ?additionalEquipmentContainerUUIDs)
|
|
158
|
+
|
|
159
|
+
WHERE {
|
|
160
|
+
GRAPH <http://default/>{
|
|
161
|
+
?dUUID rdf:type cim:Switch .
|
|
162
|
+
OPTIONAL{?dUUID cim:IdentifiedObject.name ?name .}
|
|
163
|
+
OPTIONAL{?dUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
164
|
+
OPTIONAL{?dUUID cim:IdentifiedObject.description ?description .}
|
|
165
|
+
OPTIONAL{?dUUID cim:Equipment.aggregate ?aggregate .}
|
|
166
|
+
OPTIONAL{?dUUID cim:Switch.normalOpen ?normalOpen .}
|
|
167
|
+
OPTIONAL{?dUUID cim:Switch.retained ?retained .}
|
|
168
|
+
OPTIONAL{?dUUID cim:Switch.open ?open .}
|
|
169
|
+
OPTIONAL{?dUUID cim:Equipment.EquipmentContainer ?ecUUID .}
|
|
170
|
+
OPTIONAL{?dUUID cim:Equipment.AdditionalEquipmentContainer ?aecUUIDs .}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
GROUP BY ?dUUID ?baseIRI ?name ?shortName ?description
|
|
174
|
+
?open ?aggregate ?normalOpen ?retained
|
|
175
|
+
?ecUUID
|
|
176
176
|
`;
|
|
177
177
|
//# sourceMappingURL=Switch.js.map
|
|
@@ -200,7 +200,7 @@ SynchronousMachine.sparqlQuery = `
|
|
|
200
200
|
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
201
201
|
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
202
202
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
203
|
-
PREFIX amp: <http://amprion.net/
|
|
203
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
204
204
|
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
205
205
|
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
206
206
|
|
package/dist/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "insight-cim-model",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "cim data model",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "rimraf dist && tsc && copyfiles -f src/package.json dist",
|
|
9
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
|
-
},
|
|
11
|
-
"keywords": [],
|
|
12
|
-
"author": "",
|
|
13
|
-
"license": "ISC",
|
|
14
|
-
"dependencies": {},
|
|
15
|
-
"devDependencies": {}
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "insight-cim-model",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "cim data model",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "rimraf dist && tsc && copyfiles -f src/package.json dist",
|
|
9
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [],
|
|
12
|
+
"author": "",
|
|
13
|
+
"license": "ISC",
|
|
14
|
+
"dependencies": {},
|
|
15
|
+
"devDependencies": {}
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@enervance/insight-cim-model",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "CIM data model",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"release": "rimraf dist && npm run build && npm publish",
|
|
9
|
-
"build": "rimraf dist && tsc && copyfiles -f src/package.json dist",
|
|
10
|
-
"test": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_all.json",
|
|
11
|
-
"test_fuseki_psdm": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_fuseki_psdm.json",
|
|
12
|
-
"test_i7": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_integral_7.json --max-old-space-size=32000",
|
|
13
|
-
"test_i7_bd": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_integral_7_bd.json
|
|
14
|
-
"test_fuseki": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_fuseki_interface.json",
|
|
15
|
-
"test_psdm": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_psdm.json",
|
|
16
|
-
"clean": "rimraf -rf coverage src/**/*.js src/**/*.map && rimraf .nyc_output && rimraf coverage-ts ",
|
|
17
|
-
"ts-coverage": "typescript-coverage-report",
|
|
18
|
-
"coverage": "nyc npm run test_fuseki_psdm"
|
|
19
|
-
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": " git@bitbucket.org:Projekt_EAGLE/insight-cim-model.git"
|
|
23
|
-
},
|
|
24
|
-
"files": [
|
|
25
|
-
"dist/**/*"
|
|
26
|
-
],
|
|
27
|
-
"keywords": [
|
|
28
|
-
"Common Information Model",
|
|
29
|
-
"CIM"
|
|
30
|
-
],
|
|
31
|
-
"contributors": [
|
|
32
|
-
{
|
|
33
|
-
"name": "Christoph Stockhoff",
|
|
34
|
-
"email": "christoph.stockhoff@tu-dortmund.de",
|
|
35
|
-
"url": "http://www.enervance.de/"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "Andreas Maier",
|
|
39
|
-
"email": "andreas.maier@enervance.com",
|
|
40
|
-
"url": "http://www.enervance.de/"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"license": "UNLICENSED",
|
|
44
|
-
"peerDependencies": {
|
|
45
|
-
"@fast-csv/parse": "^4.3.6",
|
|
46
|
-
"fast-csv": "^4.3.6",
|
|
47
|
-
"jszip": "^3.5.0",
|
|
48
|
-
"lodash": "^4.17.20",
|
|
49
|
-
"mariadb": "^2.5.2",
|
|
50
|
-
"mysql": "^2.18.1",
|
|
51
|
-
"saxes": "^5.0.1",
|
|
52
|
-
"tmp": "^0.2.1",
|
|
53
|
-
"uuid-random": "^1.3.2",
|
|
54
|
-
"xml-writer": "^1.7.0",
|
|
55
|
-
"pg": "^8.6.0"
|
|
56
|
-
},
|
|
57
|
-
"devDependencies": {
|
|
58
|
-
"@types/geojson": "^7946.0.7",
|
|
59
|
-
"@types/jasmine": "^3.6.2",
|
|
60
|
-
"@types/node": "^14.14.12",
|
|
61
|
-
"copyfiles": "^2.1.1",
|
|
62
|
-
"jasmine": "^3.6.3",
|
|
63
|
-
"jasmine-spec-reporter": "^6.0.0",
|
|
64
|
-
"jasmine-ts": "^0.3.0",
|
|
65
|
-
"node-fetch": "^2.6.1",
|
|
66
|
-
"nyc": "^15.1.0",
|
|
67
|
-
"pg": "^8.6.0",
|
|
68
|
-
"rimraf": "^3.0.0",
|
|
69
|
-
"serve": "^11.3.2",
|
|
70
|
-
"ts-loader": "^8.0.12",
|
|
71
|
-
"ts-node": "^9.1.1",
|
|
72
|
-
"typescript": "^3.7.2",
|
|
73
|
-
"typescript-coverage-report": "^0.5.0",
|
|
74
|
-
"webpack": "^5.10.1",
|
|
75
|
-
"webpack-cli": "^4.2.0",
|
|
76
|
-
"webpack-dev-server": "^3.11.0"
|
|
77
|
-
},
|
|
78
|
-
"dependencies": {
|
|
79
|
-
"@turf/helpers": "^6.5.0",
|
|
80
|
-
"@turf/line-intersect": "^6.5.0",
|
|
81
|
-
"@turf/line-to-polygon": "^6.5.0",
|
|
82
|
-
"@turf/point-to-line-distance": "^6.5.0",
|
|
83
|
-
"@turf/turf": "^6.5.0",
|
|
84
|
-
"fast-csv": "^4.3.6",
|
|
85
|
-
"jszip": "^3.5.0",
|
|
86
|
-
"mysql": "^2.18.1",
|
|
87
|
-
"saxes": "^5.0.1",
|
|
88
|
-
"superagent": "^6.1.0",
|
|
89
|
-
"uuid-random": "^1.3.2",
|
|
90
|
-
"winston": "^3.3.3",
|
|
91
|
-
"xlsx": "^0.18.0",
|
|
92
|
-
"xml-writer": "^1.7.0"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@enervance/insight-cim-model",
|
|
3
|
+
"version": "0.0.59",
|
|
4
|
+
"description": "CIM data model",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"release": "rimraf dist && npm run build && npm publish",
|
|
9
|
+
"build": "rimraf dist && tsc && copyfiles -f src/package.json dist",
|
|
10
|
+
"test": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_all.json",
|
|
11
|
+
"test_fuseki_psdm": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_fuseki_psdm.json",
|
|
12
|
+
"test_i7": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_integral_7.json --max-old-space-size=32000",
|
|
13
|
+
"test_i7_bd": "node --max_old_space_size=8192 --require ts-node/register node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_integral_7_bd.json ",
|
|
14
|
+
"test_fuseki": "ts-node node_modules/jasmine/bin/jasmine --max_old_space_size=8192 --config=jasmine/jasmine_fuseki_interface.json",
|
|
15
|
+
"test_psdm": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine/jasmine_psdm.json",
|
|
16
|
+
"clean": "rimraf -rf coverage src/**/*.js src/**/*.map && rimraf .nyc_output && rimraf coverage-ts ",
|
|
17
|
+
"ts-coverage": "typescript-coverage-report",
|
|
18
|
+
"coverage": "nyc npm run test_fuseki_psdm"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": " git@bitbucket.org:Projekt_EAGLE/insight-cim-model.git"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist/**/*"
|
|
26
|
+
],
|
|
27
|
+
"keywords": [
|
|
28
|
+
"Common Information Model",
|
|
29
|
+
"CIM"
|
|
30
|
+
],
|
|
31
|
+
"contributors": [
|
|
32
|
+
{
|
|
33
|
+
"name": "Christoph Stockhoff",
|
|
34
|
+
"email": "christoph.stockhoff@tu-dortmund.de",
|
|
35
|
+
"url": "http://www.enervance.de/"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "Andreas Maier",
|
|
39
|
+
"email": "andreas.maier@enervance.com",
|
|
40
|
+
"url": "http://www.enervance.de/"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"license": "UNLICENSED",
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"@fast-csv/parse": "^4.3.6",
|
|
46
|
+
"fast-csv": "^4.3.6",
|
|
47
|
+
"jszip": "^3.5.0",
|
|
48
|
+
"lodash": "^4.17.20",
|
|
49
|
+
"mariadb": "^2.5.2",
|
|
50
|
+
"mysql": "^2.18.1",
|
|
51
|
+
"saxes": "^5.0.1",
|
|
52
|
+
"tmp": "^0.2.1",
|
|
53
|
+
"uuid-random": "^1.3.2",
|
|
54
|
+
"xml-writer": "^1.7.0",
|
|
55
|
+
"pg": "^8.6.0"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/geojson": "^7946.0.7",
|
|
59
|
+
"@types/jasmine": "^3.6.2",
|
|
60
|
+
"@types/node": "^14.14.12",
|
|
61
|
+
"copyfiles": "^2.1.1",
|
|
62
|
+
"jasmine": "^3.6.3",
|
|
63
|
+
"jasmine-spec-reporter": "^6.0.0",
|
|
64
|
+
"jasmine-ts": "^0.3.0",
|
|
65
|
+
"node-fetch": "^2.6.1",
|
|
66
|
+
"nyc": "^15.1.0",
|
|
67
|
+
"pg": "^8.6.0",
|
|
68
|
+
"rimraf": "^3.0.0",
|
|
69
|
+
"serve": "^11.3.2",
|
|
70
|
+
"ts-loader": "^8.0.12",
|
|
71
|
+
"ts-node": "^9.1.1",
|
|
72
|
+
"typescript": "^3.7.2",
|
|
73
|
+
"typescript-coverage-report": "^0.5.0",
|
|
74
|
+
"webpack": "^5.10.1",
|
|
75
|
+
"webpack-cli": "^4.2.0",
|
|
76
|
+
"webpack-dev-server": "^3.11.0"
|
|
77
|
+
},
|
|
78
|
+
"dependencies": {
|
|
79
|
+
"@turf/helpers": "^6.5.0",
|
|
80
|
+
"@turf/line-intersect": "^6.5.0",
|
|
81
|
+
"@turf/line-to-polygon": "^6.5.0",
|
|
82
|
+
"@turf/point-to-line-distance": "^6.5.0",
|
|
83
|
+
"@turf/turf": "^6.5.0",
|
|
84
|
+
"fast-csv": "^4.3.6",
|
|
85
|
+
"jszip": "^3.5.0",
|
|
86
|
+
"mysql": "^2.18.1",
|
|
87
|
+
"saxes": "^5.0.1",
|
|
88
|
+
"superagent": "^6.1.0",
|
|
89
|
+
"uuid-random": "^1.3.2",
|
|
90
|
+
"winston": "^3.3.3",
|
|
91
|
+
"xlsx": "^0.18.0",
|
|
92
|
+
"xml-writer": "^1.7.0"
|
|
93
|
+
}
|
|
94
|
+
}
|
package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CurrentLimit } from '../../../operationallimits/CurrentLimit';
|
|
2
|
-
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
-
export declare class AMPRIONMaxInstrumentalCurrentLimit extends CurrentLimit {
|
|
4
|
-
static sparqlQuery: string;
|
|
5
|
-
constructor(uuid?: string, name?: string, shortName?: string, description?: string);
|
|
6
|
-
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
7
|
-
static getQuerySPARQL(graphURI: string): string;
|
|
8
|
-
}
|
package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AMPRIONMaxInstrumentalCurrentLimit = void 0;
|
|
4
|
-
const CurrentLimit_1 = require("../../../operationallimits/CurrentLimit");
|
|
5
|
-
class AMPRIONMaxInstrumentalCurrentLimit extends CurrentLimit_1.CurrentLimit {
|
|
6
|
-
constructor(uuid, name, shortName, description) {
|
|
7
|
-
super(uuid, name, shortName, description);
|
|
8
|
-
}
|
|
9
|
-
static resolveClassFusekiJSON(data, cimModel) {
|
|
10
|
-
var _a, _b;
|
|
11
|
-
(_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.forEach((value) => {
|
|
12
|
-
const newClass = new AMPRIONMaxInstrumentalCurrentLimit();
|
|
13
|
-
newClass.resolveAttributesFusekiJSON(value);
|
|
14
|
-
cimModel.addMaxInstrumentalCurrentLimit(newClass);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
static getQuerySPARQL(graphURI) {
|
|
18
|
-
if (graphURI.length > 0) {
|
|
19
|
-
return AMPRIONMaxInstrumentalCurrentLimit.sparqlQuery.replace("<http://default/>", graphURI);
|
|
20
|
-
}
|
|
21
|
-
return AMPRIONMaxInstrumentalCurrentLimit.sparqlQuery;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.AMPRIONMaxInstrumentalCurrentLimit = AMPRIONMaxInstrumentalCurrentLimit;
|
|
25
|
-
AMPRIONMaxInstrumentalCurrentLimit.sparqlQuery = `
|
|
26
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
28
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
29
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
30
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
31
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
32
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
33
|
-
|
|
34
|
-
SELECT (strafter(strafter(str(?clUUID), "#"), "_") AS ?uuid) ?value (strafter(strafter(str(?olsUUID), "#"), "_") AS ?operationalLimitSetUUID) (strafter(strafter(str(?oltUUID), "#"), "_") AS ?operationalLimitTypeUUID)
|
|
35
|
-
|
|
36
|
-
WHERE {
|
|
37
|
-
GRAPH <http://default/>{
|
|
38
|
-
?clUUID rdf:type amp:AMPRIONMaxInstrumentalCurrentLimit .
|
|
39
|
-
OPTIONAL{?clUUID cim:CurrentLimit.value ?value .}
|
|
40
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitSet ?olsUUID .}
|
|
41
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitType ?oltUUID .}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
`;
|
|
45
|
-
//# sourceMappingURL=AMPRIONMaxInstrumentalCurrentLimit.js.map
|
package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AMPRIONMaxInstrumentalCurrentLimit.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.ts"],"names":[],"mappings":";;;AAAA,0EAAuE;AAGvE,MAAa,kCAAmC,SAAQ,2BAAY;IAuBlE,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAChF,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,kCAAkC,EAAE,CAAC;YAC1D,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,8BAA8B,CAAC,QAAQ,CAAC,CAAC;QACpD,CAAC,EAAE;IACL,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,kCAAkC,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAC9F;QACD,OAAO,kCAAkC,CAAC,WAAW,CAAC;IACxD,CAAC;;AAxCH,gFA0CC;AAxCe,8CAAW,GAAW;;;;;;;;;;;;;;;;;;;KAmBjC,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CurrentLimit } from '../../../operationallimits/CurrentLimit';
|
|
2
|
-
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
-
export declare class AMPRIONProtectionCurrentLimit extends CurrentLimit {
|
|
4
|
-
static sparqlQuery: string;
|
|
5
|
-
constructor(uuid?: string, name?: string, shortName?: string, description?: string);
|
|
6
|
-
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
7
|
-
static getQuerySPARQL(graphURI: string): string;
|
|
8
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AMPRIONProtectionCurrentLimit = void 0;
|
|
4
|
-
const CurrentLimit_1 = require("../../../operationallimits/CurrentLimit");
|
|
5
|
-
class AMPRIONProtectionCurrentLimit extends CurrentLimit_1.CurrentLimit {
|
|
6
|
-
constructor(uuid, name, shortName, description) {
|
|
7
|
-
super(uuid, name, shortName, description);
|
|
8
|
-
}
|
|
9
|
-
static resolveClassFusekiJSON(data, cimModel) {
|
|
10
|
-
var _a, _b;
|
|
11
|
-
(_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.forEach((value) => {
|
|
12
|
-
const newClass = new AMPRIONProtectionCurrentLimit();
|
|
13
|
-
newClass.resolveAttributesFusekiJSON(value);
|
|
14
|
-
cimModel.addProtectionCurrentLimit(newClass);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
static getQuerySPARQL(graphURI) {
|
|
18
|
-
if (graphURI.length > 0) {
|
|
19
|
-
return AMPRIONProtectionCurrentLimit.sparqlQuery.replace("<http://default/>", graphURI);
|
|
20
|
-
}
|
|
21
|
-
return AMPRIONProtectionCurrentLimit.sparqlQuery;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.AMPRIONProtectionCurrentLimit = AMPRIONProtectionCurrentLimit;
|
|
25
|
-
AMPRIONProtectionCurrentLimit.sparqlQuery = `
|
|
26
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
28
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
29
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
30
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
31
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
32
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
33
|
-
|
|
34
|
-
SELECT (strafter(strafter(str(?clUUID), "#"), "_") AS ?uuid) ?value (strafter(strafter(str(?olsUUID), "#"), "_") AS ?operationalLimitSetUUID) (strafter(strafter(str(?oltUUID), "#"), "_") AS ?operationalLimitTypeUUID)
|
|
35
|
-
|
|
36
|
-
WHERE {
|
|
37
|
-
GRAPH <http://default/>{
|
|
38
|
-
?clUUID rdf:type amp:AMPRIONProtectionCurrentLimit .
|
|
39
|
-
OPTIONAL{?clUUID cim:CurrentLimit.value ?value .}
|
|
40
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitSet ?olsUUID .}
|
|
41
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitType ?oltUUID .}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
`;
|
|
45
|
-
//# sourceMappingURL=AMPRIONProtectionCurrentLimit.js.map
|
package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AMPRIONProtectionCurrentLimit.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.ts"],"names":[],"mappings":";;;AAAA,0EAAuE;AAGvE,MAAa,6BAA+B,SAAQ,2BAAY;IAuB9D,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAChF,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,6BAA6B,EAAG,CAAC;YACtD,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC;QAC/C,CAAC,EAAE;IACL,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,6BAA6B,CAAE,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SAC1F;QACD,OAAO,6BAA6B,CAAE,WAAW,CAAC;IACpD,CAAC;;AAxCH,sEA0CC;AAxCe,yCAAW,GAAW;;;;;;;;;;;;;;;;;;;KAmBjC,CAAA"}
|
package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CurrentLimit } from '../../../operationallimits/CurrentLimit';
|
|
2
|
-
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
-
export declare class AMPRIONThermalConnectionCurrentLimit extends CurrentLimit {
|
|
4
|
-
static sparqlQuery: string;
|
|
5
|
-
constructor(uuid?: string, name?: string, shortName?: string, description?: string);
|
|
6
|
-
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
7
|
-
static getQuerySPARQL(graphURI: string): string;
|
|
8
|
-
}
|
package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AMPRIONThermalConnectionCurrentLimit = void 0;
|
|
4
|
-
const CurrentLimit_1 = require("../../../operationallimits/CurrentLimit");
|
|
5
|
-
class AMPRIONThermalConnectionCurrentLimit extends CurrentLimit_1.CurrentLimit {
|
|
6
|
-
constructor(uuid, name, shortName, description) {
|
|
7
|
-
super(uuid, name, shortName, description);
|
|
8
|
-
}
|
|
9
|
-
static resolveClassFusekiJSON(data, cimModel) {
|
|
10
|
-
var _a, _b;
|
|
11
|
-
(_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.forEach((value) => {
|
|
12
|
-
const newClass = new AMPRIONThermalConnectionCurrentLimit();
|
|
13
|
-
newClass.resolveAttributesFusekiJSON(value);
|
|
14
|
-
cimModel.addThermalConnectionCurrentLimit(newClass);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
static getQuerySPARQL(graphURI) {
|
|
18
|
-
if (graphURI.length > 0) {
|
|
19
|
-
return AMPRIONThermalConnectionCurrentLimit.sparqlQuery.replace("<http://default/>", graphURI);
|
|
20
|
-
}
|
|
21
|
-
return AMPRIONThermalConnectionCurrentLimit.sparqlQuery;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.AMPRIONThermalConnectionCurrentLimit = AMPRIONThermalConnectionCurrentLimit;
|
|
25
|
-
AMPRIONThermalConnectionCurrentLimit.sparqlQuery = `
|
|
26
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
28
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
29
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
30
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
31
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
32
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
33
|
-
|
|
34
|
-
SELECT (strafter(strafter(str(?clUUID), "#"), "_") AS ?uuid) ?value (strafter(strafter(str(?olsUUID), "#"), "_") AS ?operationalLimitSetUUID) (strafter(strafter(str(?oltUUID), "#"), "_") AS ?operationalLimitTypeUUID)
|
|
35
|
-
|
|
36
|
-
WHERE {
|
|
37
|
-
GRAPH <http://default/>{
|
|
38
|
-
?clUUID rdf:type amp:AMPRIONThermalConnectionCurrentLimit .
|
|
39
|
-
OPTIONAL{?clUUID cim:CurrentLimit.value ?value .}
|
|
40
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitSet ?olsUUID .}
|
|
41
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitType ?oltUUID .}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
`;
|
|
45
|
-
//# sourceMappingURL=AMPRIONThermalConnectionCurrentLimit.js.map
|
package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AMPRIONThermalConnectionCurrentLimit.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.ts"],"names":[],"mappings":";;;AAAA,0EAAuE;AAGvE,MAAa,oCAAsC,SAAQ,2BAAY;IAuBrE,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAChF,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,oCAAoC,EAAG,CAAC;YAC7D,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,gCAAgC,CAAC,QAAQ,CAAC,CAAC;QACtD,CAAC,EAAE;IACL,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,oCAAoC,CAAE,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SACjG;QACD,OAAO,oCAAoC,CAAE,WAAW,CAAC;IAC3D,CAAC;;AAxCH,oFA0CC;AAxCe,gDAAW,GAAW;;;;;;;;;;;;;;;;;;;KAmBjC,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CurrentLimit } from '../../../operationallimits/CurrentLimit';
|
|
2
|
-
import { AMPRIONModel } from '../model/AMPRIONModel';
|
|
3
|
-
export declare class AMPRIONThermalCurrentLimit extends CurrentLimit {
|
|
4
|
-
static sparqlQuery: string;
|
|
5
|
-
constructor(uuid?: string, name?: string, shortName?: string, description?: string);
|
|
6
|
-
static resolveClassFusekiJSON(data: any, cimModel: AMPRIONModel): void;
|
|
7
|
-
static getQuerySPARQL(graphURI: string): string;
|
|
8
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AMPRIONThermalCurrentLimit = void 0;
|
|
4
|
-
const CurrentLimit_1 = require("../../../operationallimits/CurrentLimit");
|
|
5
|
-
class AMPRIONThermalCurrentLimit extends CurrentLimit_1.CurrentLimit {
|
|
6
|
-
constructor(uuid, name, shortName, description) {
|
|
7
|
-
super(uuid, name, shortName, description);
|
|
8
|
-
}
|
|
9
|
-
static resolveClassFusekiJSON(data, cimModel) {
|
|
10
|
-
var _a, _b;
|
|
11
|
-
(_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.forEach((value) => {
|
|
12
|
-
const newClass = new AMPRIONThermalCurrentLimit();
|
|
13
|
-
newClass.resolveAttributesFusekiJSON(value);
|
|
14
|
-
cimModel.addThermalCurrentLimit(newClass);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
static getQuerySPARQL(graphURI) {
|
|
18
|
-
if (graphURI.length > 0) {
|
|
19
|
-
return AMPRIONThermalCurrentLimit.sparqlQuery.replace("<http://default/>", graphURI);
|
|
20
|
-
}
|
|
21
|
-
return AMPRIONThermalCurrentLimit.sparqlQuery;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.AMPRIONThermalCurrentLimit = AMPRIONThermalCurrentLimit;
|
|
25
|
-
AMPRIONThermalCurrentLimit.sparqlQuery = `
|
|
26
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
27
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
28
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
29
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
30
|
-
PREFIX amp: <http://amprion.net/CIM/Extensions#>
|
|
31
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
32
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
33
|
-
|
|
34
|
-
SELECT (strafter(strafter(str(?clUUID), "#"), "_") AS ?uuid) ?value (strafter(strafter(str(?olsUUID), "#"), "_") AS ?operationalLimitSetUUID) (strafter(strafter(str(?oltUUID), "#"), "_") AS ?operationalLimitTypeUUID)
|
|
35
|
-
|
|
36
|
-
WHERE {
|
|
37
|
-
GRAPH <http://default/>{
|
|
38
|
-
?clUUID rdf:type amp:AMPRIONThermalCurrentLimit .
|
|
39
|
-
OPTIONAL{?clUUID cim:CurrentLimit.value ?value .}
|
|
40
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitSet ?olsUUID .}
|
|
41
|
-
OPTIONAL{?clUUID cim:OperationalLimit.OperationalLimitType ?oltUUID .}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
`;
|
|
45
|
-
//# sourceMappingURL=AMPRIONThermalCurrentLimit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AMPRIONThermalCurrentLimit.js","sourceRoot":"","sources":["../../../../../src/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.ts"],"names":[],"mappings":";;;AAAA,0EAAuE;AAGvE,MAAa,0BAA2B,SAAQ,2BAAY;IAuB1D,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;QAChF,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IAC5C,CAAC;IAEM,MAAM,CAAC,sBAAsB,CAAC,IAAS,EAAE,QAAsB;;QACpE,YAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,0CAAE,QAAQ,0CAAE,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC9C,MAAM,QAAQ,GAAG,IAAI,0BAA0B,EAAE,CAAC;YAClD,QAAQ,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YAC5C,QAAQ,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC;QAC5C,CAAC,EAAE;IACL,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,QAAgB;QAC3C,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;YACvB,OAAO,0BAA0B,CAAC,WAAW,CAAC,OAAO,CAAC,mBAAmB,EAAE,QAAQ,CAAC,CAAC;SACtF;QACD,OAAO,0BAA0B,CAAC,WAAW,CAAC;IAChD,CAAC;;AAxCH,gEA0CC;AAxCe,sCAAW,GAAW;;;;;;;;;;;;;;;;;;;KAmBjC,CAAA"}
|