@enervance/insight-cim-model 0.0.12 → 0.0.14
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-integral7/integral7-load.config.js.map +1 -1
- package/dist/config/westnetz-neplan/neplan-load.config.js +6 -1
- package/dist/config/westnetz-neplan/neplan-load.config.js.map +1 -1
- package/dist/constants/cim-class-definition.js +19 -0
- package/dist/constants/cim-class-definition.js.map +1 -1
- package/dist/constants/cim-class-names.d.ts +10 -0
- package/dist/constants/cim-class-names.js +10 -0
- package/dist/constants/cim-class-names.js.map +1 -1
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js +10 -0
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js.map +1 -1
- package/dist/constants/init-data/PSR_TYPES.js +17 -0
- package/dist/constants/init-data/PSR_TYPES.js.map +1 -1
- package/dist/converter/cgmes-validator.d.ts +5 -0
- package/dist/converter/cgmes-validator.js +23 -0
- package/dist/converter/cgmes-validator.js.map +1 -0
- package/dist/converter/integral7/ConverterIntegral7.d.ts +26 -19
- package/dist/converter/integral7/ConverterIntegral7.js +595 -272
- package/dist/converter/integral7/ConverterIntegral7.js.map +1 -1
- package/dist/converter/integral7/model/integral/BaseClass.d.ts +1 -0
- package/dist/converter/integral7/model/integral/BaseClass.js.map +1 -1
- package/dist/converter/integral7/model/interfaces.d.ts +36 -0
- package/dist/converter/integral7/sql/integral.sql.d.ts +10 -0
- package/dist/converter/integral7/sql/integral.sql.js +25 -1
- package/dist/converter/integral7/sql/integral.sql.js.map +1 -1
- package/dist/converter/integral7/utils.d.ts +3 -0
- package/dist/converter/integral7/utils.js +81 -17
- package/dist/converter/integral7/utils.js.map +1 -1
- package/dist/etl-neplan/etl-neplan-csv.d.ts +37 -0
- package/dist/etl-neplan/etl-neplan-csv.js +243 -0
- package/dist/etl-neplan/etl-neplan-csv.js.map +1 -0
- package/dist/etl-neplan/etl-neplan-geo.d.ts +12 -0
- package/dist/etl-neplan/etl-neplan-geo.js +74 -0
- package/dist/etl-neplan/etl-neplan-geo.js.map +1 -0
- package/dist/etl-neplan/neplan-contingency-analysis.js +0 -20
- package/dist/etl-neplan/neplan-contingency-analysis.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/interfaces/default-values-config.d.ts +171 -0
- package/dist/interfaces/default-values-config.js +3 -0
- package/dist/interfaces/default-values-config.js.map +1 -0
- package/dist/interfaces/model/common/ILocation.d.ts +15 -0
- package/dist/interfaces/model/common/ILocation.js +3 -0
- package/dist/interfaces/model/common/ILocation.js.map +1 -0
- package/dist/interfaces/model/core/IIdentifiedObject.d.ts +3 -0
- package/dist/interfaces/model/wires/IACLineSegment.d.ts +10 -0
- package/dist/interfaces/model/wires/IConductor.d.ts +2 -1
- package/dist/model/assets/Asset.d.ts +12 -5
- package/dist/model/assets/Asset.js +86 -21
- package/dist/model/assets/Asset.js.map +1 -1
- package/dist/model/assets/LifecycleDate.d.ts +1 -0
- package/dist/model/assets/LifecycleDate.js +9 -1
- package/dist/model/assets/LifecycleDate.js.map +1 -1
- package/dist/model/common/CoordinateSystem.d.ts +3 -1
- package/dist/model/common/CoordinateSystem.js +13 -1
- package/dist/model/common/CoordinateSystem.js.map +1 -1
- package/dist/model/common/Location.d.ts +5 -3
- package/dist/model/common/Location.js +17 -11
- package/dist/model/common/Location.js.map +1 -1
- package/dist/model/common/PositionPoint.d.ts +9 -3
- package/dist/model/common/PositionPoint.js +23 -1
- package/dist/model/common/PositionPoint.js.map +1 -1
- package/dist/model/common/Status.d.ts +2 -1
- package/dist/model/common/Status.js +9 -1
- package/dist/model/common/Status.js.map +1 -1
- package/dist/model/core/ACDCTerminal.d.ts +2 -0
- package/dist/model/core/ACDCTerminal.js +9 -1
- package/dist/model/core/ACDCTerminal.js.map +1 -1
- package/dist/model/core/BaseVoltage.js.map +1 -1
- package/dist/model/core/Bay.js.map +1 -1
- package/dist/model/core/GeographicalRegion.js.map +1 -1
- package/dist/model/core/IdentifiedObject.d.ts +3 -1
- package/dist/model/core/IdentifiedObject.js +42 -21
- package/dist/model/core/IdentifiedObject.js.map +1 -1
- package/dist/model/core/PowerSystemResource.js.map +1 -1
- package/dist/model/core/SubGeographicalRegion.js.map +1 -1
- package/dist/model/core/Substation.d.ts +1 -0
- package/dist/model/core/Substation.js +3 -2
- package/dist/model/core/Substation.js.map +1 -1
- package/dist/model/core/Terminal.d.ts +3 -1
- package/dist/model/core/Terminal.js +14 -14
- package/dist/model/core/Terminal.js.map +1 -1
- package/dist/model/core/VoltageLevel.js +4 -2
- package/dist/model/core/VoltageLevel.js.map +1 -1
- package/dist/model/dc/ACDCConverter.d.ts +3 -0
- package/dist/model/dc/ACDCConverter.js +56 -14
- package/dist/model/dc/ACDCConverter.js.map +1 -1
- package/dist/model/dc/ACDCConverterDCTerminal.js +2 -6
- package/dist/model/dc/ACDCConverterDCTerminal.js.map +1 -1
- package/dist/model/dc/CsConverter.d.ts +2 -0
- package/dist/model/dc/CsConverter.js +45 -17
- package/dist/model/dc/CsConverter.js.map +1 -1
- package/dist/model/dc/DCConverterUnit.d.ts +2 -0
- package/dist/model/dc/DCConverterUnit.js +13 -7
- package/dist/model/dc/DCConverterUnit.js.map +1 -1
- package/dist/model/dc/DCLine.js.map +1 -1
- package/dist/model/dc/DCLineSegment.js +4 -8
- package/dist/model/dc/DCLineSegment.js.map +1 -1
- package/dist/model/dc/VsConverter.d.ts +2 -0
- package/dist/model/dc/VsConverter.js +53 -5
- package/dist/model/dc/VsConverter.js.map +1 -1
- package/dist/model/equivalents/EquivalentBranch.d.ts +2 -0
- package/dist/model/equivalents/EquivalentBranch.js +63 -0
- package/dist/model/equivalents/EquivalentBranch.js.map +1 -1
- package/dist/model/extensions/amprion/wires/AMPRIONSeriesCompensator.js +0 -3
- package/dist/model/extensions/amprion/wires/AMPRIONSeriesCompensator.js.map +1 -1
- package/dist/model/extensions/enervance/wires/EVACLineSegment.d.ts +16 -0
- package/{src/model/wires/PetersenCoil.ts → dist/model/extensions/enervance/wires/EVACLineSegment.js} +43 -47
- package/dist/model/extensions/enervance/wires/EVACLineSegment.js.map +1 -0
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.d.ts +25 -0
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js +126 -0
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js +4 -12
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/common/WNLocation.d.ts +18 -0
- package/dist/model/extensions/neplan-westnetz/common/WNLocation.js +82 -0
- package/dist/model/extensions/neplan-westnetz/common/WNLocation.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.d.ts +5 -0
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js +23 -0
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js.map +1 -1
- package/dist/model/generation/GeneratingUnit.d.ts +2 -0
- package/dist/model/generation/GeneratingUnit.js +23 -0
- package/dist/model/generation/GeneratingUnit.js.map +1 -1
- package/dist/model/generation/ThermalGeneratingUnit.js.map +1 -1
- package/dist/model/loadmodel/ConformLoad.d.ts +6 -1
- package/dist/model/loadmodel/ConformLoad.js +48 -3
- package/dist/model/loadmodel/ConformLoad.js.map +1 -1
- package/dist/model/loadmodel/ConformLoadGroup.d.ts +7 -0
- package/dist/model/loadmodel/ConformLoadGroup.js +48 -0
- package/dist/model/loadmodel/ConformLoadGroup.js.map +1 -0
- package/dist/model/loadmodel/EnergyArea.d.ts +3 -0
- package/dist/model/loadmodel/EnergyArea.js +8 -0
- package/dist/model/loadmodel/EnergyArea.js.map +1 -0
- package/dist/model/loadmodel/LoadArea.d.ts +10 -0
- package/dist/model/loadmodel/LoadArea.js +51 -0
- package/dist/model/loadmodel/LoadArea.js.map +1 -0
- package/dist/model/loadmodel/LoadGroup.d.ts +8 -0
- package/dist/model/loadmodel/LoadGroup.js +21 -0
- package/dist/model/loadmodel/LoadGroup.js.map +1 -0
- package/dist/model/loadmodel/SubLoadArea.d.ts +14 -0
- package/dist/model/loadmodel/SubLoadArea.js +63 -0
- package/dist/model/loadmodel/SubLoadArea.js.map +1 -0
- package/dist/model/model/Model.d.ts +40 -11
- package/dist/model/model/Model.js +100 -6
- package/dist/model/model/Model.js.map +1 -1
- package/dist/model/operationallimits/CurrentLimit.js.map +1 -1
- package/dist/model/operationallimits/OperationalLimitSet.js.map +1 -1
- package/dist/model/wires/ACLineSegment.d.ts +6 -2
- package/dist/model/wires/ACLineSegment.js +51 -44
- package/dist/model/wires/ACLineSegment.js.map +1 -1
- package/dist/model/wires/AsynchronousMachine.d.ts +2 -1
- package/dist/model/wires/AsynchronousMachine.js +34 -34
- package/dist/model/wires/AsynchronousMachine.js.map +1 -1
- package/dist/model/wires/BusbarSection.d.ts +2 -0
- package/dist/model/wires/BusbarSection.js +6 -0
- package/dist/model/wires/BusbarSection.js.map +1 -1
- package/dist/model/wires/Conductor.d.ts +4 -1
- package/dist/model/wires/Conductor.js +15 -6
- package/dist/model/wires/Conductor.js.map +1 -1
- package/dist/model/wires/EnergyConsumer.d.ts +6 -2
- package/dist/model/wires/EnergyConsumer.js +24 -3
- package/dist/model/wires/EnergyConsumer.js.map +1 -1
- package/dist/model/wires/EnergySource.d.ts +8 -4
- package/dist/model/wires/EnergySource.js +37 -21
- package/dist/model/wires/EnergySource.js.map +1 -1
- package/dist/model/wires/ExternalNetworkInjection.d.ts +2 -0
- package/dist/model/wires/ExternalNetworkInjection.js +81 -1
- package/dist/model/wires/ExternalNetworkInjection.js.map +1 -1
- package/dist/model/wires/Line.js.map +1 -1
- package/dist/model/wires/LinearShuntCompensator.d.ts +15 -0
- package/dist/model/wires/LinearShuntCompensator.js +96 -0
- package/dist/model/wires/LinearShuntCompensator.js.map +1 -0
- package/dist/model/wires/PowerTransformer.js +0 -3
- package/dist/model/wires/PowerTransformer.js.map +1 -1
- package/dist/model/wires/PowerTransformerEnd.js.map +1 -1
- package/dist/model/wires/RatioTapChanger.js.map +1 -1
- package/dist/model/wires/RatioTapChangerTable.js.map +1 -1
- package/dist/model/wires/RegulatingCondEq.d.ts +3 -0
- package/dist/model/wires/RegulatingCondEq.js +17 -6
- package/dist/model/wires/RegulatingCondEq.js.map +1 -1
- package/dist/model/wires/RegulatingControl.d.ts +2 -0
- package/dist/model/wires/RegulatingControl.js +43 -7
- package/dist/model/wires/RegulatingControl.js.map +1 -1
- package/dist/model/wires/RotatingMachine.d.ts +2 -0
- package/dist/model/wires/RotatingMachine.js +17 -0
- package/dist/model/wires/RotatingMachine.js.map +1 -1
- package/dist/model/wires/SeriesCompensator.d.ts +2 -1
- package/dist/model/wires/SeriesCompensator.js +42 -42
- package/dist/model/wires/SeriesCompensator.js.map +1 -1
- package/dist/model/wires/ShuntCompensator.d.ts +17 -0
- package/dist/model/wires/ShuntCompensator.js +50 -0
- package/dist/model/wires/ShuntCompensator.js.map +1 -0
- package/dist/model/wires/SynchronousMachine.d.ts +2 -0
- package/dist/model/wires/SynchronousMachine.js +70 -5
- package/dist/model/wires/SynchronousMachine.js.map +1 -1
- package/dist/model/wires/TapChangerControl.js.map +1 -1
- package/dist/util/utils.d.ts +8 -1
- package/dist/util/utils.js +13 -38
- package/dist/util/utils.js.map +1 -1
- package/dist/util/xml/xml.serializer.d.ts +3 -1
- package/dist/util/xml/xml.serializer.js +46 -45
- package/dist/util/xml/xml.serializer.js.map +1 -1
- package/package.json +4 -1
- package/.nycrc +0 -28
- package/jasmine/jasmine_all.json +0 -13
- package/jasmine/jasmine_fuseki_interface.json +0 -13
- package/jasmine/jasmine_fuseki_psdm.json +0 -13
- package/jasmine/jasmine_integral_7.json +0 -13
- package/jasmine/jasmine_psdm.json +0 -13
- package/src/config/lew-sincal/lew-sincal-load.config.ts +0 -58
- package/src/config/power-system-datamodel/psdm-load.config.ts +0 -57
- package/src/config/westnetz-integral7/integral7-load.config.ts +0 -53
- package/src/config/westnetz-neplan/callbacks/cb-connectivitynode.ts +0 -159
- package/src/config/westnetz-neplan/callbacks/cb-psr.ts +0 -30
- package/src/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.ts +0 -70
- package/src/config/westnetz-neplan/neplan-load.config.ts +0 -131
- package/src/config/westnetz-neplan/property-handler-westenergy.config.ts +0 -52
- package/src/constants/cim-class-definition.ts +0 -169
- package/src/constants/cim-class-names.ts +0 -118
- package/src/constants/cim-constants.ts +0 -5
- package/src/constants/init-data/ASSET_HEALTH_EVENTS.ts +0 -45
- package/src/constants/init-data/ASSSET_OWNER.ts +0 -11
- package/src/constants/init-data/JENA_SPARQL.ts +0 -328
- package/src/constants/init-data/PSR_TYPES.ts +0 -75
- package/src/constants/init-data/xml/AssetHealtEvent.xml +0 -45
- package/src/constants/init-data/xml/AssetOwner.xml +0 -11
- package/src/constants/init-data/xml/PsrType.xml +0 -80
- package/src/constants/rdf-xml.ts +0 -52
- package/src/converter/PSDM/ConverterPowerSystemDataModel.ts +0 -546
- package/src/converter/PSDM/model/FixedFeedIn.ts +0 -28
- package/src/converter/PSDM/model/Line.ts +0 -39
- package/src/converter/PSDM/model/LineType.ts +0 -29
- package/src/converter/PSDM/model/Load.ts +0 -38
- package/src/converter/PSDM/model/Node.ts +0 -16
- package/src/converter/PSDM/model/TimeSeriesMapping.ts +0 -13
- package/src/converter/PSDM/model/Transformer.ts +0 -34
- package/src/converter/PSDM/model/TransformerType.ts +0 -49
- package/src/converter/PSDM/model/geo/Crs.ts +0 -4
- package/src/converter/PSDM/model/geo/GeoPosition.ts +0 -7
- package/src/converter/integral7/ConverterIntegral7.ts +0 -3916
- package/src/converter/integral7/config/db-config.ts +0 -13
- package/src/converter/integral7/config/generation-unit-fuel-types.ts +0 -51
- package/src/converter/integral7/config/integral-prefix.ts +0 -20
- package/src/converter/integral7/model/integral/BaseClass.ts +0 -28
- package/src/converter/integral7/model/integral/BaseClassNsg.ts +0 -21
- package/src/converter/integral7/model/integral/Hgueleitung.ts +0 -12
- package/src/converter/integral7/model/integral/KnotenSo.ts +0 -41
- package/src/converter/integral7/model/integral/KnotenSoNsg.ts +0 -24
- package/src/converter/integral7/model/integral/Kopfstation.ts +0 -46
- package/src/converter/integral7/model/integral/Leitung.ts +0 -73
- package/src/converter/integral7/model/integral/LeitungNsg.ts +0 -46
- package/src/converter/integral7/model/integral/Point.ts +0 -14
- package/src/converter/integral7/model/integral/Schaltanlage.ts +0 -151
- package/src/converter/integral7/model/integral/SchaltanlageNSG.ts +0 -30
- package/src/converter/integral7/model/integral/Schaltanlagenabschnitt.ts +0 -44
- package/src/converter/integral7/model/integral/SchaltanlagenabschnittNsg.ts +0 -27
- package/src/converter/integral7/model/integral/Schaltfeld.ts +0 -116
- package/src/converter/integral7/model/integral/SchaltfeldNsg.ts +0 -35
- package/src/converter/integral7/model/integral/Standort.ts +0 -53
- package/src/converter/integral7/model/integral/StandortNsg.ts +0 -24
- package/src/converter/integral7/model/integral/Trafo2w.ts +0 -22
- package/src/converter/integral7/model/integral/Trafo2wNsg.ts +0 -13
- package/src/converter/integral7/model/interfaces.ts +0 -450
- package/src/converter/integral7/sql/integral.sql.ts +0 -345
- package/src/converter/integral7/utils-schema.ts +0 -50
- package/src/converter/integral7/utils-trafo3w.ts +0 -321
- package/src/converter/integral7/utils.ts +0 -693
- package/src/etl-neplan/etl-neplan-contingency-analysis.ts +0 -188
- package/src/etl-neplan/etl-neplan-feederline.ts +0 -229
- package/src/etl-neplan/etl-neplan.ts +0 -344
- package/src/etl-neplan/neplan-contingency-analysis.ts +0 -571
- package/src/graph/Types.ts +0 -7
- package/src/graph/connections/connection.ts +0 -29
- package/src/graph/edges/edge.ts +0 -27
- package/src/graph/graph-interfaces.ts +0 -21
- package/src/graph/graph-util.ts +0 -158
- package/src/graph/graph.ts +0 -84
- package/src/graph/nodes/node.ts +0 -43
- package/src/index.ts +0 -307
- package/src/interfaces/model/assets/IAsset.ts +0 -5
- package/src/interfaces/model/assets/IAssetContainer.ts +0 -5
- package/src/interfaces/model/assets/IFacility.ts +0 -5
- package/src/interfaces/model/common/IDocument.ts +0 -5
- package/src/interfaces/model/core/IACDCTerminal.ts +0 -8
- package/src/interfaces/model/core/IBaseVoltage.ts +0 -7
- package/src/interfaces/model/core/IConductingEquipment.ts +0 -16
- package/src/interfaces/model/core/IConnectivityNode.ts +0 -27
- package/src/interfaces/model/core/IConnectivityNodeContainer.ts +0 -11
- package/src/interfaces/model/core/IEquipment.ts +0 -11
- package/src/interfaces/model/core/IEquipmentContainer.ts +0 -12
- package/src/interfaces/model/core/IFeeder.ts +0 -21
- package/src/interfaces/model/core/IIdentifiedObject.ts +0 -108
- package/src/interfaces/model/core/IPowerSystemResource.ts +0 -3
- package/src/interfaces/model/core/ISubstation.ts +0 -8
- package/src/interfaces/model/core/ITerminal.ts +0 -57
- package/src/interfaces/model/core/IVoltageLevel.ts +0 -14
- package/src/interfaces/model/diagram/IDiagram.ts +0 -21
- package/src/interfaces/model/diagram/IDiagramObject.ts +0 -21
- package/src/interfaces/model/diagram/IDiagramObjectPoint.ts +0 -16
- package/src/interfaces/model/domain/IActivePower.ts +0 -3
- package/src/interfaces/model/domain/IAngleDegrees.ts +0 -3
- package/src/interfaces/model/domain/IApparentPower.ts +0 -3
- package/src/interfaces/model/domain/ICurrentFlow.ts +0 -3
- package/src/interfaces/model/domain/IDataType.ts +0 -9
- package/src/interfaces/model/domain/IReactivePower.ts +0 -3
- package/src/interfaces/model/domain/IVoltage.ts +0 -3
- package/src/interfaces/model/domain/UnitMultiplier.ts +0 -13
- package/src/interfaces/model/domain/UnitSymbol.ts +0 -30
- package/src/interfaces/model/enums/EnumShapeInfo.ts +0 -5
- package/src/interfaces/model/faults/IFault.ts +0 -11
- package/src/interfaces/model/model/IModel.ts +0 -91
- package/src/interfaces/model/operations/IOutage.ts +0 -23
- package/src/interfaces/model/operations/ISwitchingAction.ts +0 -9
- package/src/interfaces/model/operations/ISwitchingPlan.ts +0 -26
- package/src/interfaces/model/statevariables/ISvPowerFlow.ts +0 -20
- package/src/interfaces/model/statevariables/ISvVoltage.ts +0 -16
- package/src/interfaces/model/topology/ITopologicalIsland.ts +0 -11
- package/src/interfaces/model/topology/ITopologicalNode.ts +0 -24
- package/src/interfaces/model/wires/IACLineSegment.ts +0 -4
- package/src/interfaces/model/wires/IBusbarSection.ts +0 -4
- package/src/interfaces/model/wires/ICompositeSwitch.ts +0 -6
- package/src/interfaces/model/wires/IConductor.ts +0 -6
- package/src/interfaces/model/wires/IConnector.ts +0 -5
- package/src/interfaces/model/wires/IDisconnector.ts +0 -4
- package/src/interfaces/model/wires/IEnergyConsumer.ts +0 -7
- package/src/interfaces/model/wires/IEnergySource.ts +0 -20
- package/src/interfaces/model/wires/IExternalNetworkInjection.ts +0 -34
- package/src/interfaces/model/wires/ILoadBreakSwitch.ts +0 -4
- package/src/interfaces/model/wires/IPowerTransformer.ts +0 -7
- package/src/interfaces/model/wires/IPowerTransformerEnd.ts +0 -10
- package/src/interfaces/model/wires/IProtectedSwitch.ts +0 -4
- package/src/interfaces/model/wires/IRegulatingCondEq.ts +0 -4
- package/src/interfaces/model/wires/ISwitch.ts +0 -11
- package/src/interfaces/model/wires/ITransformerEnd.ts +0 -14
- package/src/interfaces/observable/IObservable.ts +0 -6
- package/src/interfaces/observable/IObserver.ts +0 -3
- package/src/interfaces/persistence-interfaces.ts +0 -12
- package/src/interfaces/schema-settings/ShapeInfos.ts +0 -28
- package/src/model/assetinfo/AssetInfo.ts +0 -13
- package/src/model/assetinfo/CableInfo.ts +0 -8
- package/src/model/assetinfo/OverheadWireInfo.ts +0 -8
- package/src/model/assetinfo/PowerTransformer2WInfo.ts +0 -13
- package/src/model/assetinfo/PowerTransformer3WInfo.ts +0 -18
- package/src/model/assetinfo/PowerTransformerInfo.ts +0 -14
- package/src/model/assetinfo/TapChangerInfo.ts +0 -60
- package/src/model/assetinfo/TransformerEndInfo.ts +0 -38
- package/src/model/assetinfo/WireInfo.ts +0 -22
- package/src/model/assets/AggregateScore.ts +0 -9
- package/src/model/assets/AnalyticScore.ts +0 -41
- package/src/model/assets/Asset.ts +0 -164
- package/src/model/assets/AssetContainer.ts +0 -11
- package/src/model/assets/AssetDeployment.ts +0 -122
- package/src/model/assets/AssetHealthEvent.ts +0 -73
- package/src/model/assets/AssetOrganisationRole.ts +0 -51
- package/src/model/assets/AssetOwner.ts +0 -54
- package/src/model/assets/DeploymentDate.ts +0 -20
- package/src/model/assets/DeploymentStateKind.ts +0 -7
- package/src/model/assets/Facility.ts +0 -107
- package/src/model/assets/FacilityKind.ts +0 -9
- package/src/model/assets/HealthScore.ts +0 -59
- package/src/model/assets/LifecycleDate.ts +0 -17
- package/src/model/assets/RiskScore.ts +0 -7
- package/src/model/assets/TransformerApplicationKind.ts +0 -6
- package/src/model/common/ActivityRecord.ts +0 -93
- package/src/model/common/CoordinateSystem.ts +0 -81
- package/src/model/common/Document.ts +0 -9
- package/src/model/common/Location.ts +0 -237
- package/src/model/common/OrganisationRole.ts +0 -7
- package/src/model/common/PositionPoint.ts +0 -121
- package/src/model/common/Status.ts +0 -11
- package/src/model/core/ACDCTerminal.ts +0 -63
- package/src/model/core/BaseVoltage.ts +0 -129
- package/src/model/core/Bay.ts +0 -178
- package/src/model/core/ConductingEquipment.ts +0 -182
- package/src/model/core/ConnectivityNode.ts +0 -417
- package/src/model/core/ConnectivityNodeContainer.ts +0 -26
- package/src/model/core/Curve.ts +0 -55
- package/src/model/core/CurveData.ts +0 -74
- package/src/model/core/CurveStyle.ts +0 -4
- package/src/model/core/Equipment.ts +0 -184
- package/src/model/core/EquipmentContainer.ts +0 -40
- package/src/model/core/Feeder.ts +0 -186
- package/src/model/core/GeographicalRegion.ts +0 -34
- package/src/model/core/IdentifiedObject.ts +0 -393
- package/src/model/core/PSRType.ts +0 -164
- package/src/model/core/PhaseCode.ts +0 -23
- package/src/model/core/PowerSystemResource.ts +0 -109
- package/src/model/core/SubGeographicalRegion.ts +0 -58
- package/src/model/core/Substation.ts +0 -290
- package/src/model/core/Terminal.ts +0 -422
- package/src/model/core/VoltageLevel.ts +0 -192
- package/src/model/dc/ACDCConverter.ts +0 -66
- package/src/model/dc/ACDCConverterDCTerminal.ts +0 -64
- package/src/model/dc/CsConverter.ts +0 -68
- package/src/model/dc/CsOperatingModeKind.ts +0 -4
- package/src/model/dc/CsPpccControlKind.ts +0 -5
- package/src/model/dc/DCBaseTerminal.ts +0 -30
- package/src/model/dc/DCConductingEquipment.ts +0 -8
- package/src/model/dc/DCConverterOperatingModeKind.ts +0 -6
- package/src/model/dc/DCConverterUnit.ts +0 -60
- package/src/model/dc/DCEquipmentContainer.ts +0 -8
- package/src/model/dc/DCLine.ts +0 -56
- package/src/model/dc/DCLineSegment.ts +0 -81
- package/src/model/dc/DCNode.ts +0 -49
- package/src/model/dc/DCPolarityKind.ts +0 -5
- package/src/model/dc/DCTerminal.ts +0 -45
- package/src/model/dc/VsConverter.ts +0 -48
- package/src/model/dc/VsPpccControlKind.ts +0 -7
- package/src/model/dc/VsQpccControlKind.ts +0 -5
- package/src/model/diagram/Diagram.ts +0 -136
- package/src/model/diagram/DiagramObject.ts +0 -338
- package/src/model/diagram/DiagramObjectPoint.ts +0 -196
- package/src/model/diagram/DiagramStyle.ts +0 -32
- package/src/model/diagram/OrientationKind.ts +0 -4
- package/src/model/domain/ActivePower.ts +0 -14
- package/src/model/domain/AngleDegrees.ts +0 -14
- package/src/model/domain/ApparentPower.ts +0 -14
- package/src/model/domain/Capacitance.ts +0 -15
- package/src/model/domain/CapacitancePerLength.ts +0 -15
- package/src/model/domain/ConductancePerLength.ts +0 -14
- package/src/model/domain/CurrentFlow.ts +0 -14
- package/src/model/domain/Reactance.ts +0 -15
- package/src/model/domain/ReactancePerLength.ts +0 -14
- package/src/model/domain/ReactivePower.ts +0 -14
- package/src/model/domain/Resistance.ts +0 -14
- package/src/model/domain/ResistancePerLength.ts +0 -14
- package/src/model/domain/UnitMultiplier.ts +0 -13
- package/src/model/domain/UnitSymbol.ts +0 -30
- package/src/model/domain/Voltage.ts +0 -14
- package/src/model/equivalents/EquivalentBranch.ts +0 -203
- package/src/model/equivalents/EquivalentEquipment.ts +0 -8
- package/src/model/extensions/amprion/core/AMPRIONBay.ts +0 -106
- package/src/model/extensions/amprion/core/AMPRIONConnectivityNode.ts +0 -51
- package/src/model/extensions/amprion/model/AmprionModel.ts +0 -92
- package/src/model/extensions/amprion/project/AMPRIONConstructionProject.ts +0 -174
- package/src/model/extensions/amprion/project/AMPRIONConstructionProjectBundle.ts +0 -89
- package/src/model/extensions/amprion/project/AMPRIONConstructionProjectPlan.ts +0 -64
- package/src/model/extensions/amprion/project/AMPRIONErpProject.ts +0 -21
- package/src/model/extensions/amprion/project/AMPRIONErpProjectPhase.ts +0 -89
- package/src/model/extensions/amprion/project/AMPRIONErpProjectStructure.ts +0 -36
- package/src/model/extensions/amprion/project/AMPRIONProjectPriorityKind.ts +0 -5
- package/src/model/extensions/amprion/wires/AMPRIONSeriesCompensator.ts +0 -53
- package/src/model/extensions/enervance/assets/EVImportanceScore.ts +0 -58
- package/src/model/extensions/enervance/core/EVTerminal.ts +0 -63
- package/src/model/extensions/enervance/operations/EVTerminalAction.ts +0 -144
- package/src/model/extensions/neplan-westnetz/assets/WNFacility.ts +0 -121
- package/src/model/extensions/neplan-westnetz/core/WNConnectivityNode.ts +0 -344
- package/src/model/extensions/neplan-westnetz/core/WNFeeder.ts +0 -133
- package/src/model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode.ts +0 -113
- package/src/model/extensions/neplan-westnetz/operations/WNOutage.ts +0 -111
- package/src/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.ts +0 -451
- package/src/model/faults/EquipmentFault.ts +0 -9
- package/src/model/faults/Fault.ts +0 -41
- package/src/model/faults/LineFault.ts +0 -10
- package/src/model/generation/FossilFuel.ts +0 -53
- package/src/model/generation/FuelType.ts +0 -8
- package/src/model/generation/GeneratingUnit.ts +0 -157
- package/src/model/generation/GeneratorControlSource.ts +0 -6
- package/src/model/generation/HydroEnergyConversionKind.ts +0 -4
- package/src/model/generation/HydroGeneratingUnit.ts +0 -14
- package/src/model/generation/HydroPlantStorageKind.ts +0 -5
- package/src/model/generation/HydroPowerPlant.ts +0 -13
- package/src/model/generation/HydroPump.ts +0 -13
- package/src/model/generation/NuclearGeneratingUnit.ts +0 -8
- package/src/model/generation/SolarGeneratingUnit.ts +0 -8
- package/src/model/generation/ThermalGeneratingUnit.ts +0 -42
- package/src/model/generation/WindGenUnitKind.ts +0 -4
- package/src/model/generation/WindGeneratingUnit.ts +0 -84
- package/src/model/loadmodel/ConformLoad.ts +0 -34
- package/src/model/model/Model.ts +0 -1253
- package/src/model/operationallimits/CurrentLimit.ts +0 -92
- package/src/model/operationallimits/ENTSOEOperationalLimitType.ts +0 -5
- package/src/model/operationallimits/LimitTypeKind.ts +0 -9
- package/src/model/operationallimits/OperationalLimit.ts +0 -68
- package/src/model/operationallimits/OperationalLimitDirectionKind.ts +0 -5
- package/src/model/operationallimits/OperationalLimitSet.ts +0 -124
- package/src/model/operationallimits/OperationalLimitType.ts +0 -94
- package/src/model/operations/Outage.ts +0 -68
- package/src/model/operations/SwitchAction.ts +0 -121
- package/src/model/operations/SwitchActionKind.ts +0 -6
- package/src/model/operations/SwitchingAction.ts +0 -43
- package/src/model/operations/SwitchingPlan.ts +0 -141
- package/src/model/operations/UnplannedOutage.ts +0 -9
- package/src/model/statevariables/StateVariable.ts +0 -28
- package/src/model/statevariables/SvPowerFlow.ts +0 -75
- package/src/model/statevariables/SvStatus.ts +0 -51
- package/src/model/statevariables/SvTapStep.ts +0 -54
- package/src/model/statevariables/SvVoltage.ts +0 -74
- package/src/model/topology/TopologicalIsland.ts +0 -57
- package/src/model/topology/TopologicalNode.ts +0 -203
- package/src/model/wires/ACLineSegment.ts +0 -309
- package/src/model/wires/AsynchronousMachine.ts +0 -93
- package/src/model/wires/AsynchronousMachineKind.ts +0 -5
- package/src/model/wires/Breaker.ts +0 -82
- package/src/model/wires/BusbarSection.ts +0 -70
- package/src/model/wires/Clamp.ts +0 -33
- package/src/model/wires/CompositeSwitch.ts +0 -13
- package/src/model/wires/Conductor.ts +0 -55
- package/src/model/wires/Connector.ts +0 -16
- package/src/model/wires/Cut.ts +0 -7
- package/src/model/wires/Disconnector.ts +0 -120
- package/src/model/wires/EarthFaultCompensator.ts +0 -20
- package/src/model/wires/EnergyConsumer.ts +0 -255
- package/src/model/wires/EnergySource.ts +0 -337
- package/src/model/wires/ExternalNetworkInjection.ts +0 -276
- package/src/model/wires/Ground.ts +0 -40
- package/src/model/wires/GroundDisconnector.ts +0 -39
- package/src/model/wires/Jumper.ts +0 -8
- package/src/model/wires/Junction.ts +0 -57
- package/src/model/wires/Line.ts +0 -117
- package/src/model/wires/LoadBreakSwitch.ts +0 -107
- package/src/model/wires/PetersenCoilModeKind.ts +0 -5
- package/src/model/wires/Plant.ts +0 -12
- package/src/model/wires/PowerTransformer.ts +0 -231
- package/src/model/wires/PowerTransformerEnd.ts +0 -168
- package/src/model/wires/ProtectedSwitch.ts +0 -9
- package/src/model/wires/RatioTapChanger.ts +0 -96
- package/src/model/wires/RatioTapChangerTable.ts +0 -35
- package/src/model/wires/RatioTapChangerTablePoint.ts +0 -45
- package/src/model/wires/ReactiveCapabilityCurve.ts +0 -35
- package/src/model/wires/Recloser.ts +0 -32
- package/src/model/wires/RegulatingCondEq.ts +0 -67
- package/src/model/wires/RegulatingControl.ts +0 -217
- package/src/model/wires/RegulatingControlModeKind.ts +0 -11
- package/src/model/wires/RotatingMachine.ts +0 -172
- package/src/model/wires/SeriesCompensator.ts +0 -166
- package/src/model/wires/ShortCircuitRotorKind.ts +0 -6
- package/src/model/wires/Switch.ts +0 -230
- package/src/model/wires/SynchronousMachine.ts +0 -267
- package/src/model/wires/SynchronousMachineKind.ts +0 -9
- package/src/model/wires/SynchronousMachineOperatingMode.ts +0 -5
- package/src/model/wires/TapChanger.ts +0 -55
- package/src/model/wires/TapChangerControl.ts +0 -32
- package/src/model/wires/TapChangerTablePoint.ts +0 -41
- package/src/model/wires/TransformerControlMode.ts +0 -4
- package/src/model/wires/TransformerEnd.ts +0 -143
- package/src/model/wires/WindingConnection.ts +0 -9
- package/src/package.json +0 -16
- package/src/util/datatype-converter.ts +0 -48
- package/src/util/sparql/sparql-building-block.ts +0 -43
- package/src/util/sparql/sparql-utils.ts +0 -150
- package/src/util/util-create.ts +0 -148
- package/src/util/util-search.ts +0 -40
- package/src/util/util-topology.ts +0 -175
- package/src/util/utils.ts +0 -255
- package/src/util/xml/utils.parser.ts +0 -29
- package/src/util/xml/xml.parser.ts +0 -107
- package/src/util/xml/xml.serializer.ts +0 -245
- package/test/apache-jena-fuseki-interface/apache-jena-fuseki-neplan-1.tests.sp-ec.ts +0 -838
- package/test/apache-jena-fuseki-interface/apache-jena-fuseki-neplan-2.tests.sp-ec.ts +0 -216
- package/test/apache-jena-fuseki-interface/apache-jena-fuseki-neplan-katarina-ruhrau.tests.spec.ts +0 -223
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/LICENSE +0 -617
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/NOTICE +0 -216
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/README +0 -62
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-delete +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-get +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-head +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-post +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-put +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-query +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-update +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-update-form +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/soh +0 -725
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki +0 -512
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-backup +0 -34
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-server +0 -95
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-server.bat +0 -28
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-server.jar +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki.service +0 -59
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki.war +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/config.ttl +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/configuration/test.ttl +0 -50
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/shiro.ini +0 -38
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GOSP.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GOSP.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GPOS.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GPOS.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GSPO.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/GSPO.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/OSP.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/OSP.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/OSPG.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/OSPG.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/POS.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/POS.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/POSG.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/POSG.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/SPO.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/SPO.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/SPOG.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/SPOG.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/journal.jrnl +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/node2id.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/node2id.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/nodes.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefix2id.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefix2id.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefixIdx.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefixIdx.idn +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/prefixes.dat +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/tdb.cfg +0 -32
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-mem +0 -27
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-service +0 -23
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb +0 -31
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb-dir +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb-mem +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb2 +0 -31
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb2-dir +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb2-mem +0 -30
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/WEB-INF/web.xml +0 -332
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/admin-logs.html +0 -73
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap-select.min.css +0 -7
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap-theme.css.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap-theme.min.css +0 -7
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap.css.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap.min.css +0 -7
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/codemirror.css +0 -301
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/codemirror.min.css +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/font-awesome.min.css +0 -4
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/fui.css +0 -191
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.dataTables.css +0 -220
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload-noscript.css +0 -22
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload-ui-noscript.css +0 -17
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload-ui.css +0 -57
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload.css +0 -36
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/pivot.min.css +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/qonsole.css +0 -172
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/yasqe.min.css +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/yasr.min.css +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/dataset.html +0 -247
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/documentation.html +0 -83
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/FontAwesome.otf +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/fontawesome-webfont.eot +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/fontawesome-webfont.svg +0 -504
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/fontawesome-webfont.ttf +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/fontawesome-webfont.woff +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/glyphicons-halflings-regular.eot +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/glyphicons-halflings-regular.svg +0 -229
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/fonts/glyphicons-halflings-regular.woff +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/back_disabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/back_enabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/back_enabled_hover.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/favicon.ico +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/forward_disabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/forward_enabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/forward_enabled_hover.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/jena-logo-notext-small.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_asc.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_asc_disabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_both.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_desc.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/sort_desc_disabled.png +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/images/wait30.gif +0 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/index.html +0 -101
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/dataset-controller.js +0 -69
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/index-controller.js +0 -50
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/manage-controller.js +0 -39
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/query-controller.js +0 -72
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/upload-controller.js +0 -42
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/validation-controller.js +0 -38
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/fui.js +0 -33
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.dataset.js +0 -31
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.index.js +0 -24
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.manage.js +0 -27
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.validation.js +0 -24
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/dataset-stats.js +0 -102
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/dataset.js +0 -262
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/fuseki-server.js +0 -180
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/task.js +0 -105
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/validation-options.js +0 -85
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/qonsole-config.js +0 -27
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/services/ping-service.js +0 -54
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/services/validation-service.js +0 -98
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-edit.tpl +0 -58
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-info.tpl +0 -40
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-management.tpl +0 -62
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-selection-list.tpl +0 -22
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-selector.tpl +0 -15
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-simple-create.tpl +0 -85
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-stats.tpl +0 -14
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/file-upload.tpl +0 -46
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/uploadable-file.tpl +0 -23
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/util/page-utils.js +0 -33
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-edit.js +0 -205
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-info.js +0 -76
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-management.js +0 -173
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-selection-list.js +0 -58
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-selector.js +0 -84
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-simple-create.js +0 -102
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-stats.js +0 -41
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/datasets-dropdown-list.js +0 -43
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/file-upload.js +0 -225
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/tabbed-view-manager.js +0 -63
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/uploadable-file.js +0 -39
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/validation-options.js +0 -54
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/common-config.js +0 -94
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/brace-fold.js +0 -105
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/comment-fold.js +0 -57
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/foldcode.js +0 -145
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/foldgutter.js +0 -134
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/xml-fold.js +0 -181
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/backbone-min.js +0 -2
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/backbone.js +0 -1581
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/backbone.marionette.js +0 -2385
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/bootstrap-select.min.js +0 -8
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/bootstrap.min.js +0 -6
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/html5shiv.js +0 -8
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery-1.10.2.js +0 -9789
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery-1.10.2.min.js +0 -6
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery-ui.min.js +0 -7
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.dataTables.min.js +0 -157
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.fileupload.js +0 -1426
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.fileupload.local.js +0 -1428
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.form.js +0 -1278
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.iframe-transport.js +0 -214
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.ui.widget.js +0 -530
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.xdomainrequest.js +0 -90
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/lib/codemirror.js +0 -7638
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/javascript/javascript.js +0 -683
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/sparql/sparql.js +0 -160
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/turtle/turtle.js +0 -160
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/xml/xml.js +0 -384
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/pivot.js +0 -1363
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/pivot.min.js +0 -2
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/pivot.min.js.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/plugins/text.js +0 -386
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/qonsole.js +0 -577
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/refresh.sh +0 -21
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/require.js +0 -2076
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/require.min.js +0 -36
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/respond.min.js +0 -6
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/sprintf-0.7-beta1.js +0 -183
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/underscore.js +0 -1276
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasqe.min.js +0 -9
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasqe.min.js.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasr.min.js +0 -8
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasr.min.js.map +0 -1
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/manage.html +0 -110
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/services.html +0 -76
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/test/test-fuseki-config.ttl +0 -27
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/validate.html +0 -147
- package/test/apache-jena-fuseki-interface/data/json/PersistData.json +0 -111
- package/test/apache-jena-fuseki-interface/data/xml/AssetHealthEvent.xml +0 -45
- package/test/apache-jena-fuseki-interface/data/xml/AssetOwner.xml +0 -11
- package/test/apache-jena-fuseki-interface/data/xml/Outages.xml +0 -69
- package/test/apache-jena-fuseki-interface/data/xml/PsrType.xml +0 -80
- package/test/apache-jena-fuseki-interface/data/xml/finnentrop/Finnentrop_Rootnet_Area 1_EQ_V1.xml +0 -20867
- package/test/apache-jena-fuseki-interface/data/xml/finnentrop/Finnentrop_Rootnet_Area 1_SSH_V1.xml +0 -3784
- package/test/apache-jena-fuseki-interface/data/xml/neplan-eslohe/Eslohe_Rootnet_Area_1_EQ_V1.xml +0 -15755
- package/test/apache-jena-fuseki-interface/data/xml/neplan-eslohe/Eslohe_Rootnet_Area_1_EQ_V1_feeder_ext.xml +0 -54
- package/test/apache-jena-fuseki-interface/data/xml/neplan-eslohe/Eslohe_Rootnet_Area_1_SSH_V1.xml +0 -2796
- package/test/apache-jena-fuseki-interface/data/xml/ruhrau-katharina/Ruhrau_Katharina_Rootnet_Area 1_EQ_V1.xml +0 -42569
- package/test/apache-jena-fuseki-interface/data/xml/ruhrau-katharina/Ruhrau_Katharina_Rootnet_Area 1_SSH_V1.xml +0 -10108
- package/test/apache-jena-fuseki-interface/data/xml/ruhrau-katharina/Ruhrau_Katharina_Rootnet_Area 1_SV_V1.xml +0 -6234
- package/test/apache-jena-fuseki-interface/data/xml-rdf-data.xml +0 -84
- package/test/cim-xml-rdf-parser/cim-xml-rdf-parser.tests.spec.ts +0 -23
- package/test/cim-xml-rdf-parser/data/rdfxml_serialisation.xml +0 -192
- package/test/integral7-converter/integral7-converter.tests.spec.ts +0 -195
- package/test/power-system-data-model-converter/data/fixed_feed_in_input.csv +0 -72
- package/test/power-system-data-model-converter/data/line_input.csv +0 -1910
- package/test/power-system-data-model-converter/data/line_type_input.csv +0 -5
- package/test/power-system-data-model-converter/data/load_input.csv +0 -1829
- package/test/power-system-data-model-converter/data/node_input.csv +0 -2835
- package/test/power-system-data-model-converter/data/time_series_mapping.csv +0 -878
- package/test/power-system-data-model-converter/data/transformer_2_w_input.csv +0 -1047
- package/test/power-system-data-model-converter/data/transformer_2_w_type_input.csv +0 -5
- package/test/power-system-data-model-converter/power-system-data-model-converter.tests.spec.ts +0 -310
- package/tsconfig.json +0 -24
- package/webpack.config.js +0 -24
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
export interface IDefaultValuesConfig {
|
|
2
|
+
readonly DefaultVoltage?: number;
|
|
3
|
+
readonly IdentifiedObject: {
|
|
4
|
+
name?: string;
|
|
5
|
+
};
|
|
6
|
+
readonly GeographicalRegion: {
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
};
|
|
10
|
+
readonly SubGeographicalRegion: {
|
|
11
|
+
name?: string;
|
|
12
|
+
shortName?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
};
|
|
15
|
+
readonly LoadArea: {
|
|
16
|
+
name?: string;
|
|
17
|
+
};
|
|
18
|
+
readonly SubLoadArea: {
|
|
19
|
+
name?: string;
|
|
20
|
+
};
|
|
21
|
+
readonly ConformLoadGroup: {
|
|
22
|
+
name?: string;
|
|
23
|
+
};
|
|
24
|
+
readonly EnergyConsumer: {
|
|
25
|
+
p?: number;
|
|
26
|
+
q?: number;
|
|
27
|
+
};
|
|
28
|
+
readonly EnergySource: {
|
|
29
|
+
activePower?: number;
|
|
30
|
+
reactivePower?: number;
|
|
31
|
+
};
|
|
32
|
+
readonly Conductor: {
|
|
33
|
+
length?: number;
|
|
34
|
+
};
|
|
35
|
+
readonly ACDCTerminal: {
|
|
36
|
+
connected?: boolean;
|
|
37
|
+
};
|
|
38
|
+
readonly AsynchronousMachine: {
|
|
39
|
+
converterFedDrive?: boolean;
|
|
40
|
+
efficiency?: number;
|
|
41
|
+
iaIrRatio?: number;
|
|
42
|
+
polePairNumber?: number;
|
|
43
|
+
ratedMechanicalPower?: number;
|
|
44
|
+
reversible?: boolean;
|
|
45
|
+
asynchronousMachineType?: string;
|
|
46
|
+
};
|
|
47
|
+
readonly ACLineSegment: {
|
|
48
|
+
bch?: number;
|
|
49
|
+
gch?: number;
|
|
50
|
+
r?: number;
|
|
51
|
+
x?: number;
|
|
52
|
+
b0ch?: number;
|
|
53
|
+
g0ch?: number;
|
|
54
|
+
r0?: number;
|
|
55
|
+
x0?: number;
|
|
56
|
+
shortCircuitEndTemperature?: number;
|
|
57
|
+
};
|
|
58
|
+
readonly SeriesCompensator: {
|
|
59
|
+
r?: number;
|
|
60
|
+
x?: number;
|
|
61
|
+
r0?: number;
|
|
62
|
+
x0?: number;
|
|
63
|
+
varistorPresent?: boolean;
|
|
64
|
+
varistorRatedCurrent?: number;
|
|
65
|
+
varistorVoltageThreshold?: number;
|
|
66
|
+
};
|
|
67
|
+
readonly ExternalNetworkInjection: {
|
|
68
|
+
governorSCD?: number;
|
|
69
|
+
maxP?: number;
|
|
70
|
+
minP?: number;
|
|
71
|
+
maxQ?: number;
|
|
72
|
+
minQ?: number;
|
|
73
|
+
maxInitialSymShCCurrent?: number;
|
|
74
|
+
maxR0ToX0Ratio?: number;
|
|
75
|
+
maxR1ToX1Ratio?: number;
|
|
76
|
+
maxZ0ToZ1Ratio?: 0;
|
|
77
|
+
minInitialSymShCCurrent?: number;
|
|
78
|
+
minR0ToX0Ratio?: number;
|
|
79
|
+
minR1ToX1Ratio?: number;
|
|
80
|
+
minZ0ToZ1Ratio?: number;
|
|
81
|
+
referencePriority?: number;
|
|
82
|
+
p?: number;
|
|
83
|
+
q?: number;
|
|
84
|
+
};
|
|
85
|
+
readonly RegulatingCondEq: {
|
|
86
|
+
controlEnabled: boolean;
|
|
87
|
+
};
|
|
88
|
+
readonly RotatingMachine: {
|
|
89
|
+
p: number;
|
|
90
|
+
q: number;
|
|
91
|
+
};
|
|
92
|
+
readonly SynchronousMachine: {
|
|
93
|
+
earthing?: boolean;
|
|
94
|
+
r?: number;
|
|
95
|
+
r0?: number;
|
|
96
|
+
r2?: number;
|
|
97
|
+
x0?: number;
|
|
98
|
+
x2?: number;
|
|
99
|
+
satDirectSubtransX?: number;
|
|
100
|
+
operatingMode?: string;
|
|
101
|
+
type?: string;
|
|
102
|
+
referencePriority?: number;
|
|
103
|
+
};
|
|
104
|
+
readonly GeneratingUnit: {
|
|
105
|
+
initialP?: number;
|
|
106
|
+
normalPF?: number;
|
|
107
|
+
maxOperatingP?: number;
|
|
108
|
+
minOperatingP?: number;
|
|
109
|
+
};
|
|
110
|
+
readonly RegulatingControl: {
|
|
111
|
+
mode: string;
|
|
112
|
+
discrete?: true;
|
|
113
|
+
enabled?: false;
|
|
114
|
+
targetDeadband?: 5;
|
|
115
|
+
targetValue?: 0;
|
|
116
|
+
targetValueUnitMultiplier?: string;
|
|
117
|
+
};
|
|
118
|
+
readonly EquivalentBranch: {
|
|
119
|
+
negativeR12?: number;
|
|
120
|
+
negativeR21?: number;
|
|
121
|
+
negativeX12?: number;
|
|
122
|
+
negativeX21?: number;
|
|
123
|
+
positiveR12?: number;
|
|
124
|
+
positiveR21?: number;
|
|
125
|
+
positiveX12?: number;
|
|
126
|
+
positiveX21?: number;
|
|
127
|
+
r?: number;
|
|
128
|
+
x?: number;
|
|
129
|
+
zeroR12?: number;
|
|
130
|
+
zeroR21?: number;
|
|
131
|
+
zeroX12?: number;
|
|
132
|
+
zeroX21?: number;
|
|
133
|
+
};
|
|
134
|
+
readonly ShuntCompensator: {
|
|
135
|
+
maximumSections?: number;
|
|
136
|
+
normalSections?: number;
|
|
137
|
+
nomU?: number;
|
|
138
|
+
sections?: number;
|
|
139
|
+
};
|
|
140
|
+
readonly LinearShuntCompensator: {
|
|
141
|
+
bPerSection?: number;
|
|
142
|
+
gPerSection?: number;
|
|
143
|
+
b0PerSection?: number;
|
|
144
|
+
g0PerSection?: number;
|
|
145
|
+
};
|
|
146
|
+
readonly ACDCConverter: {
|
|
147
|
+
numberOfValves?: number;
|
|
148
|
+
p?: number;
|
|
149
|
+
q?: number;
|
|
150
|
+
targetPpcc?: number;
|
|
151
|
+
targetUdc?: number;
|
|
152
|
+
};
|
|
153
|
+
readonly CsConverter: {
|
|
154
|
+
pPccControl?: string;
|
|
155
|
+
targetAlpha?: number;
|
|
156
|
+
targetGamma?: number;
|
|
157
|
+
targetIdc?: number;
|
|
158
|
+
};
|
|
159
|
+
readonly VsConverter: {
|
|
160
|
+
droop?: number;
|
|
161
|
+
droopCompensation?: number;
|
|
162
|
+
pPccControl?: string;
|
|
163
|
+
qPccControl?: string;
|
|
164
|
+
qShare?: number;
|
|
165
|
+
targetQpcc?: number;
|
|
166
|
+
targetUpcc?: number;
|
|
167
|
+
};
|
|
168
|
+
readonly DCConverterUnit: {
|
|
169
|
+
operationMode?: string;
|
|
170
|
+
};
|
|
171
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-values-config.js","sourceRoot":"","sources":["../../src/interfaces/default-values-config.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IIdentifiedObject } from '../core/IIdentifiedObject';
|
|
2
|
+
import { CoordinateSystem } from '../../../model/common/CoordinateSystem';
|
|
3
|
+
import { PositionPoint } from '../../../model/common/PositionPoint';
|
|
4
|
+
import { PowerSystemResource } from '../../../model/core/PowerSystemResource';
|
|
5
|
+
import { ISchemaSettings } from '../../schema-settings/ShapeInfos';
|
|
6
|
+
export interface ILocation extends IIdentifiedObject {
|
|
7
|
+
coordinateSystem: CoordinateSystem;
|
|
8
|
+
coordinateSystemUUID: string;
|
|
9
|
+
powerSystemResources: Map<string, PowerSystemResource>;
|
|
10
|
+
positionPoints: PositionPoint[];
|
|
11
|
+
addPowerSystemResource(psr: PowerSystemResource): string;
|
|
12
|
+
addPositionPoint(positionPoint: PositionPoint): any;
|
|
13
|
+
setCoordinateSystem(cs: CoordinateSystem): string;
|
|
14
|
+
getGeoJSON(profile: string, schemaSettings: ISchemaSettings): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ILocation.js","sourceRoot":"","sources":["../../../../src/interfaces/model/common/ILocation.ts"],"names":[],"mappings":""}
|
|
@@ -6,6 +6,7 @@ import { Model } from '../../../model/model/Model';
|
|
|
6
6
|
import XMLWriter from 'xml-writer';
|
|
7
7
|
import { TripleData } from '../../persistence-interfaces';
|
|
8
8
|
import { IConnectivityNode } from './IConnectivityNode';
|
|
9
|
+
import { IDefaultValuesConfig } from '../../default-values-config';
|
|
9
10
|
export interface IIdentifiedObject extends IObservable {
|
|
10
11
|
mrid: string;
|
|
11
12
|
name: string;
|
|
@@ -49,4 +50,6 @@ export interface IIdentifiedObject extends IObservable {
|
|
|
49
50
|
getAssociationSparqlTriple(baseIRI: string, mrid: string, namespace: string, className: string, propName: any, propValueMrid: string): string;
|
|
50
51
|
createNewStatementSPARQL(): string;
|
|
51
52
|
createDeleteStatementSPARQL(graphURI: string): string;
|
|
53
|
+
validateMandatoryAttributesCGMES(defaultValuesConfig: IDefaultValuesConfig): string;
|
|
54
|
+
validateOclCGMES(): any;
|
|
52
55
|
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { IConductor } from "./IConductor";
|
|
2
2
|
export interface IACLineSegment extends IConductor {
|
|
3
|
+
r0: number;
|
|
4
|
+
x0: number;
|
|
5
|
+
r: number;
|
|
6
|
+
x: number;
|
|
7
|
+
bch: number;
|
|
8
|
+
gch: number;
|
|
9
|
+
b0ch: number;
|
|
10
|
+
g0ch: number;
|
|
11
|
+
shortCircuitEndTemperature: number;
|
|
12
|
+
toMapGeoJSON(): any;
|
|
3
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IdentifiedObject, Model, PowerSystemResource } from '../..';
|
|
1
|
+
import { IdentifiedObject, Model, PowerSystemResource, Status } from '../..';
|
|
2
2
|
import { AssetContainer } from './AssetContainer';
|
|
3
3
|
import { AssetDeployment } from './AssetDeployment';
|
|
4
4
|
import { FacilityKind } from './FacilityKind';
|
|
@@ -21,13 +21,12 @@ export declare class Asset extends IdentifiedObject {
|
|
|
21
21
|
analyticScores: Map<string, AnalyticScore>;
|
|
22
22
|
analyticScoresUUIDs: string[];
|
|
23
23
|
lifecycleDate: LifecycleDate;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
status: Status;
|
|
25
|
+
constructor(mrid?: string, name?: string, shortName?: string, description?: string, baseIRI?: string);
|
|
26
|
+
addPowerSystemResource(psr: PowerSystemResource): string;
|
|
26
27
|
addAnalyticScore(analyticScore: AnalyticScore): void;
|
|
27
28
|
getHealthScore(): HealthScore | undefined;
|
|
28
29
|
getImportanceScore(): EVImportanceScore | undefined;
|
|
29
|
-
protected resolveAttributesFusekiJSON(value: any): void;
|
|
30
|
-
resolveParsedAssociations(cimModel: Model): void;
|
|
31
30
|
addActivityRecord(activityRecord: ActivityRecord): string;
|
|
32
31
|
removeActivityRecord(delRecord: ActivityRecord): string;
|
|
33
32
|
addAssetOrganisationRole(assetOrganisationRole: AssetOrganisationRole): string;
|
|
@@ -35,4 +34,12 @@ export declare class Asset extends IdentifiedObject {
|
|
|
35
34
|
toJSONAttributes(): void;
|
|
36
35
|
toJSONAssociations(): void;
|
|
37
36
|
setType(type: string): string;
|
|
37
|
+
setStatus(status: string): string;
|
|
38
|
+
setLifecycleDate(date: string, type: string): string;
|
|
39
|
+
static sparqlQuery: string;
|
|
40
|
+
static getQuerySPARQL(graphURI: string): string;
|
|
41
|
+
static resolveClassFusekiJSON(data: any, cimModel: Model): void;
|
|
42
|
+
protected resolveAttributesFusekiJSON(value: any): void;
|
|
43
|
+
resolveParsedAssociations(cimModel: Model): void;
|
|
44
|
+
createNewStatementSPARQL(): string;
|
|
38
45
|
}
|
|
@@ -7,13 +7,16 @@ const utils_1 = require("../../util/utils");
|
|
|
7
7
|
const LifecycleDate_1 = require("./LifecycleDate");
|
|
8
8
|
const EVImportanceScore_1 = require("../extensions/enervance/assets/EVImportanceScore");
|
|
9
9
|
class Asset extends __1.IdentifiedObject {
|
|
10
|
-
constructor(mrid, name, shortName, description) {
|
|
10
|
+
constructor(mrid, name, shortName, description, baseIRI) {
|
|
11
11
|
super(mrid, name, shortName, description);
|
|
12
12
|
this.powerSystemResources = new Map();
|
|
13
13
|
this.organisationRoles = new Map();
|
|
14
14
|
this.activityRecords = new Map();
|
|
15
15
|
this.analyticScores = new Map();
|
|
16
16
|
this.analyticScoresUUIDs = [];
|
|
17
|
+
this.baseIRI = baseIRI;
|
|
18
|
+
this.lifecycleDate = new LifecycleDate_1.LifecycleDate();
|
|
19
|
+
this.status = new __1.Status();
|
|
17
20
|
this.prop2namespacePrefix.set('psrType', 'cim');
|
|
18
21
|
this.prop2Class.set('psrType', 'PowerSystemResource');
|
|
19
22
|
this.prop2Datatype.set('psrType', 'PSRType');
|
|
@@ -25,6 +28,8 @@ class Asset extends __1.IdentifiedObject {
|
|
|
25
28
|
}
|
|
26
29
|
addPowerSystemResource(psr) {
|
|
27
30
|
this.powerSystemResources.set(psr.mrid, psr);
|
|
31
|
+
psr.addAsset(this);
|
|
32
|
+
return this.getAssociationSparqlTriple(this.baseIRI, this.mrid, 'cim', 'Asset', 'PowerSystemResources', psr.mrid);
|
|
28
33
|
}
|
|
29
34
|
addAnalyticScore(analyticScore) {
|
|
30
35
|
this.analyticScores.set(analyticScore.mrid, analyticScore);
|
|
@@ -45,26 +50,6 @@ class Asset extends __1.IdentifiedObject {
|
|
|
45
50
|
}
|
|
46
51
|
return;
|
|
47
52
|
}
|
|
48
|
-
resolveAttributesFusekiJSON(value) {
|
|
49
|
-
super.resolveAttributesFusekiJSON(value);
|
|
50
|
-
this.lifecycleDate = new LifecycleDate_1.LifecycleDate();
|
|
51
|
-
this.lifecycleDate.resolveClassFusekiJSON(value);
|
|
52
|
-
this.powerSystemResourcesUUIDs = utils_1.parseCsvLineIntoArray(utils_1.getValue(value, 'powerSystemResourceUUIDs'), ',');
|
|
53
|
-
this.type = utils_1.getValue(value, 'type');
|
|
54
|
-
}
|
|
55
|
-
resolveParsedAssociations(cimModel) {
|
|
56
|
-
super.resolveParsedAssociations(cimModel);
|
|
57
|
-
for (const psrUUID of this.powerSystemResourcesUUIDs) {
|
|
58
|
-
const psr = cimModel.getObject(psrUUID);
|
|
59
|
-
if (psr) {
|
|
60
|
-
if (psr instanceof __1.PowerSystemResource) {
|
|
61
|
-
this.powerSystemResources.set(psr.mrid, psr);
|
|
62
|
-
psr.addAsset(this);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
this.powerSystemResourcesUUIDs = [];
|
|
67
|
-
}
|
|
68
53
|
addActivityRecord(activityRecord) {
|
|
69
54
|
if (!this.activityRecords.has(activityRecord.mrid)) {
|
|
70
55
|
this.activityRecords.set(activityRecord.mrid, activityRecord);
|
|
@@ -104,6 +89,86 @@ class Asset extends __1.IdentifiedObject {
|
|
|
104
89
|
this.type = type;
|
|
105
90
|
return this.getPropertySparqlTriple(this.baseIRI, this.mrid, 'cim', 'Asset', 'type', this.type);
|
|
106
91
|
}
|
|
92
|
+
setStatus(status) {
|
|
93
|
+
return `<${this.baseIRI}${this.mrid}> cim:Asset.status ${this.status.setStatus(status)} . `;
|
|
94
|
+
}
|
|
95
|
+
setLifecycleDate(date, type) {
|
|
96
|
+
let sparql;
|
|
97
|
+
switch (type) {
|
|
98
|
+
case 'manufacturedDate': {
|
|
99
|
+
sparql = this.lifecycleDate.setManufacturedDate(date);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
if (sparql) {
|
|
103
|
+
return `<${this.baseIRI}${this.mrid}> cim:Asset.lifecycleDate sparql . `;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
static getQuerySPARQL(graphURI) {
|
|
110
|
+
if (graphURI.length > 0) {
|
|
111
|
+
return Asset.sparqlQuery.replace('<http://default/>', graphURI);
|
|
112
|
+
}
|
|
113
|
+
return Asset.sparqlQuery;
|
|
114
|
+
}
|
|
115
|
+
static resolveClassFusekiJSON(data, cimModel) {
|
|
116
|
+
data.results.bindings.forEach((value) => {
|
|
117
|
+
const newClass = new Asset();
|
|
118
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
119
|
+
cimModel.addAsset(newClass);
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
resolveAttributesFusekiJSON(value) {
|
|
123
|
+
super.resolveAttributesFusekiJSON(value);
|
|
124
|
+
this.lifecycleDate.resolveClassFusekiJSON(value);
|
|
125
|
+
this.status.resolveClassFusekiJSON(value);
|
|
126
|
+
this.type = utils_1.getValue(value, 'type');
|
|
127
|
+
this.powerSystemResourcesUUIDs = utils_1.parseCsvLineIntoArray(utils_1.getValue(value, 'powerSystemResourceUUIDs'), ',');
|
|
128
|
+
}
|
|
129
|
+
resolveParsedAssociations(cimModel) {
|
|
130
|
+
super.resolveParsedAssociations(cimModel);
|
|
131
|
+
for (const psrUUID of this.powerSystemResourcesUUIDs) {
|
|
132
|
+
const psr = cimModel.getObject(psrUUID);
|
|
133
|
+
if (psr && psr instanceof __1.PowerSystemResource) {
|
|
134
|
+
this.powerSystemResources.set(psr.mrid, psr);
|
|
135
|
+
psr.addAsset(this);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
this.powerSystemResourcesUUIDs = [];
|
|
139
|
+
}
|
|
140
|
+
createNewStatementSPARQL() {
|
|
141
|
+
return `
|
|
142
|
+
<${this.baseIRI}${this.mrid}>
|
|
143
|
+
a cim:Asset ;
|
|
144
|
+
cim:IdentifiedObject.name "${this.name}" .
|
|
145
|
+
`;
|
|
146
|
+
}
|
|
107
147
|
}
|
|
108
148
|
exports.Asset = Asset;
|
|
149
|
+
Asset.sparqlQuery = `
|
|
150
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
151
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
152
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
153
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
154
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
155
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
156
|
+
|
|
157
|
+
SELECT (STRAFTER(str(?fUUID), '#_') AS ?uuid)
|
|
158
|
+
(CONCAT(STRBEFORE(str(?fUUID), '#_'), '#_') AS ?baseIRI)
|
|
159
|
+
?name ?status ?manufacturedDate
|
|
160
|
+
(group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
|
|
161
|
+
|
|
162
|
+
WHERE {
|
|
163
|
+
GRAPH <http://default/> {
|
|
164
|
+
?fUUID rdf:type cim:Asset .
|
|
165
|
+
OPTIONAL {?fUUID cim:IdentifiedObject.name ?name .}
|
|
166
|
+
OPTIONAL {?fUUID cim:Asset.type ?type .}
|
|
167
|
+
OPTIONAL {?fUUID cim:Asset.status [ cim:Status.value ?status ] .}
|
|
168
|
+
OPTIONAL {?fUUID cim:Asset.lifecycleDate [ cim:LifecycleDate.manufacturedDate ?manufacturedDate ] .}
|
|
169
|
+
OPTIONAL {?fUUID cim:Asset.PowerSystemResources ?psrUUIDs . }
|
|
170
|
+
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
GROUP BY ?fUUID ?baseIRI ?name ?status ?manufacturedDate`;
|
|
109
174
|
//# sourceMappingURL=Asset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../src/model/assets/Asset.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../src/model/assets/Asset.ts"],"names":[],"mappings":";;;AAAA,6BAAiH;AAOjH,+CAA4C;AAE5C,4CAAmE;AACnE,mDAAgD;AAChD,wFAAqF;AAErF,MAAa,KAAM,SAAQ,oBAAgB;IAyBzC,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB,EAAE,OAAgB;QAClG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;QArB5C,yBAAoB,GAAqC,IAAI,GAAG,EAAE,CAAC;QAGnE,sBAAiB,GAAuC,IAAI,GAAG,EAAE,CAAC;QAOlE,oBAAe,GAAgC,IAAI,GAAG,EAAE,CAAC;QAGzD,mBAAc,GAA+B,IAAI,GAAG,EAAE,CAAC;QACvD,wBAAmB,GAAa,EAAE,CAAC;QAQjC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,aAAa,GAAG,IAAI,6BAAa,EAAE,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,IAAI,UAAM,EAAE,CAAC;QAC3B,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;QAChD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,EAAE,qBAAqB,CAAC,CAAC;QAC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AC"}
|
|
@@ -3,10 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LifecycleDate = void 0;
|
|
4
4
|
const utils_1 = require("../../util/utils");
|
|
5
5
|
class LifecycleDate {
|
|
6
|
-
constructor() {
|
|
6
|
+
constructor() {
|
|
7
|
+
}
|
|
7
8
|
resolveClassFusekiJSON(value) {
|
|
8
9
|
this.manufacturedDate = utils_1.getValue(value, 'manufacturedDate');
|
|
9
10
|
}
|
|
11
|
+
setManufacturedDate(manufacturedDate) {
|
|
12
|
+
this.manufacturedDate = manufacturedDate;
|
|
13
|
+
return ` [
|
|
14
|
+
a cim:LifecycleDate ;
|
|
15
|
+
cim:LifecycleDate.manufacturedDate "${this.manufacturedDate}"
|
|
16
|
+
] `;
|
|
17
|
+
}
|
|
10
18
|
}
|
|
11
19
|
exports.LifecycleDate = LifecycleDate;
|
|
12
20
|
//# sourceMappingURL=LifecycleDate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LifecycleDate.js","sourceRoot":"","sources":["../../../src/model/assets/LifecycleDate.ts"],"names":[],"mappings":";;;AAAA,4CAA4C;AAE5C,MAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"LifecycleDate.js","sourceRoot":"","sources":["../../../src/model/assets/LifecycleDate.ts"],"names":[],"mappings":";;;AAAA,4CAA4C;AAE5C,MAAa,aAAa;IASxB;IACA,CAAC;IAEM,sBAAsB,CAAC,KAAU;QACtC,IAAI,CAAC,gBAAgB,GAAG,gBAAQ,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;IAC9D,CAAC;IAED,mBAAmB,CAAC,gBAAwB;QAC1C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,OAAO;;qDAE0C,IAAI,CAAC,gBAAgB;eAC3D,CAAC;IACd,CAAC;CACF;AAvBD,sCAuBC"}
|
|
@@ -3,7 +3,7 @@ import XMLWriter from 'xml-writer';
|
|
|
3
3
|
export declare class CoordinateSystem extends IdentifiedObject {
|
|
4
4
|
crsUrn: string;
|
|
5
5
|
locations: Location[];
|
|
6
|
-
constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
6
|
+
constructor(mrid?: string, name?: string, shortName?: string, description?: string, baseIRI?: string);
|
|
7
7
|
addLocation(loaction: Location): void;
|
|
8
8
|
toCIMXML(xmlWriter: XMLWriter, profile: string): void;
|
|
9
9
|
protected toCIMXMLAttributes(xmlWriter: XMLWriter, profile: string): void;
|
|
@@ -12,4 +12,6 @@ export declare class CoordinateSystem extends IdentifiedObject {
|
|
|
12
12
|
static resolveClassFusekiJSON(data: any, cimModel: Model): void;
|
|
13
13
|
protected resolveAttributesFusekiJSON(value: any): void;
|
|
14
14
|
resolveParsedAssociations(cimModel: Model): void;
|
|
15
|
+
setCrsUrn(crsUrn: string): string;
|
|
16
|
+
createNewStatementSPARQL(): string;
|
|
15
17
|
}
|
|
@@ -4,9 +4,10 @@ exports.CoordinateSystem = void 0;
|
|
|
4
4
|
const __1 = require("../..");
|
|
5
5
|
const utils_1 = require("../../util/utils");
|
|
6
6
|
class CoordinateSystem extends __1.IdentifiedObject {
|
|
7
|
-
constructor(mrid, name, shortName, description) {
|
|
7
|
+
constructor(mrid, name, shortName, description, baseIRI) {
|
|
8
8
|
super(mrid, name, shortName, description);
|
|
9
9
|
this.locations = [];
|
|
10
|
+
this.baseIRI = baseIRI;
|
|
10
11
|
}
|
|
11
12
|
addLocation(loaction) {
|
|
12
13
|
if (this.locations.indexOf(loaction) === -1) {
|
|
@@ -56,6 +57,17 @@ class CoordinateSystem extends __1.IdentifiedObject {
|
|
|
56
57
|
resolveParsedAssociations(cimModel) {
|
|
57
58
|
super.resolveParsedAssociations(cimModel);
|
|
58
59
|
}
|
|
60
|
+
setCrsUrn(crsUrn) {
|
|
61
|
+
this.crsUrn = crsUrn;
|
|
62
|
+
return this.getPropertySparqlTriple(this.baseIRI, this.mrid, 'cim', 'CoordinateSystem', 'crsUrn', this.crsUrn);
|
|
63
|
+
}
|
|
64
|
+
createNewStatementSPARQL() {
|
|
65
|
+
return `
|
|
66
|
+
<${this.baseIRI}${this.mrid}>
|
|
67
|
+
a cim:CoordinateSystem ;
|
|
68
|
+
cim:IdentifiedObject.name "${this.name}" .
|
|
69
|
+
`;
|
|
70
|
+
}
|
|
59
71
|
}
|
|
60
72
|
exports.CoordinateSystem = CoordinateSystem;
|
|
61
73
|
CoordinateSystem.sparqlQuery = `
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoordinateSystem.js","sourceRoot":"","sources":["../../../src/model/common/CoordinateSystem.ts"],"names":[],"mappings":";;;AAAA,6BAAkF;AAClF,4CAAiF;AAEjF,MAAa,gBAAiB,SAAQ,oBAAgB;IAKpD,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB;
|
|
1
|
+
{"version":3,"file":"CoordinateSystem.js","sourceRoot":"","sources":["../../../src/model/common/CoordinateSystem.ts"],"names":[],"mappings":";;;AAAA,6BAAkF;AAClF,4CAAiF;AAEjF,MAAa,gBAAiB,SAAQ,oBAAgB;IAKpD,YAAY,IAAa,EAAE,IAAa,EAAE,SAAkB,EAAE,WAAoB,EAAE,OAAgB;QAClG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;QAH5C,cAAS,GAAe,EAAE,CAAC;QAIzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAEM,WAAW,CAAC,QAAkB;QACnC,IAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YAC1C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC/B;aAAM;YACL,OAAO,CAAC,GAAG,CAAC,4BAA4B,GAAG,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC,CAAC;SAC/E;IACH,CAAC;IAGM,QAAQ,CAAC,SAAoB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I,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,KAAU,EAAE,EAAE;YAC3C,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC;YAChD,gBAAgB,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;YACpD,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;QACjD,CAAC,CAAC,CAAC;IACL,CAAC;IAES,2BAA2B,CAAC,KAAU;QAC9C,KAAK,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,gBAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IAC1C,CAAC;IAEM,yBAAyB,CAAC,QAAe;QAC9C,KAAK,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAGD,SAAS,CAAC,MAAc;QACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;IACjH,CAAC;IAEM,wBAAwB;QAE7B,OAAO;eACI,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,IAAI;;6CAEM,IAAI,CAAC,IAAI;SAC7C,CAAC;IACR,CAAC;;AA5FH,4CA8FC;AApDe,4BAAW,GAAY;;;;;;;;;;;;;iBAatB,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { IdentifiedObject, ISchemaSettings, Model, PositionPoint, PowerSystemResource } from '../..';
|
|
2
2
|
import { CoordinateSystem } from './CoordinateSystem';
|
|
3
3
|
import XMLWriter from 'xml-writer';
|
|
4
|
-
|
|
4
|
+
import { ILocation } from '../../interfaces/model/common/ILocation';
|
|
5
|
+
export declare class Location extends IdentifiedObject implements ILocation {
|
|
5
6
|
powerSystemResources: Map<string, PowerSystemResource>;
|
|
6
7
|
powerSystemResourcesUUIDs: string[];
|
|
7
8
|
coordinateSystem: CoordinateSystem;
|
|
8
9
|
coordinateSystemUUID: string;
|
|
9
10
|
positionPoints: PositionPoint[];
|
|
10
|
-
constructor(mrid?: string, name?: string, shortName?: string, description?: string);
|
|
11
|
+
constructor(mrid?: string, name?: string, shortName?: string, description?: string, baseIRI?: string);
|
|
11
12
|
addPositionPoint(positionPoint: PositionPoint): void;
|
|
12
|
-
addPowerSystemResource(psr: PowerSystemResource): void;
|
|
13
13
|
getGeoJSON(profile: string, schemaSettings: ISchemaSettings): any;
|
|
14
14
|
toCIMXML(xmlWriter: XMLWriter, profile: string): void;
|
|
15
15
|
protected toCIMXMLAttributes(xmlWriter: XMLWriter, profile: string): void;
|
|
@@ -22,4 +22,6 @@ export declare class Location extends IdentifiedObject {
|
|
|
22
22
|
static resolveClassFusekiJSON(data: any, cimModel: Model): void;
|
|
23
23
|
protected resolveAttributesFusekiJSON(value: any): void;
|
|
24
24
|
resolveParsedAssociations(cimModel: Model): void;
|
|
25
|
+
setCoordinateSystem(cs: CoordinateSystem): string;
|
|
26
|
+
addPowerSystemResource(psr: PowerSystemResource): string;
|
|
25
27
|
}
|
|
@@ -4,10 +4,11 @@ exports.Location = void 0;
|
|
|
4
4
|
const __1 = require("../..");
|
|
5
5
|
const utils_1 = require("../../util/utils");
|
|
6
6
|
class Location extends __1.IdentifiedObject {
|
|
7
|
-
constructor(mrid, name, shortName, description) {
|
|
7
|
+
constructor(mrid, name, shortName, description, baseIRI) {
|
|
8
8
|
super(mrid, name, shortName, description);
|
|
9
9
|
this.powerSystemResources = new Map();
|
|
10
10
|
this.positionPoints = [];
|
|
11
|
+
this.baseIRI = baseIRI;
|
|
11
12
|
}
|
|
12
13
|
addPositionPoint(positionPoint) {
|
|
13
14
|
if (this.positionPoints.indexOf(positionPoint) === -1) {
|
|
@@ -17,16 +18,8 @@ class Location extends __1.IdentifiedObject {
|
|
|
17
18
|
console.log('Location/PositionPoint ' + this.mrid + ' existiert bereits.');
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
|
-
addPowerSystemResource(psr) {
|
|
21
|
-
if (!this.powerSystemResources.has(psr.getUUID())) {
|
|
22
|
-
this.powerSystemResources.set(psr.getUUID(), psr);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
console.log('Location/PowerSystemResource ' + this.mrid + ' existiert bereits.');
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
21
|
getGeoJSON(profile, schemaSettings) {
|
|
29
|
-
if (this.
|
|
22
|
+
if (this.positionPoints.length) {
|
|
30
23
|
for (const value of this.powerSystemResources.values()) {
|
|
31
24
|
return value.toMapGeoJSON();
|
|
32
25
|
}
|
|
@@ -126,6 +119,19 @@ class Location extends __1.IdentifiedObject {
|
|
|
126
119
|
}
|
|
127
120
|
}
|
|
128
121
|
}
|
|
122
|
+
setCoordinateSystem(cs) {
|
|
123
|
+
this.coordinateSystem = cs;
|
|
124
|
+
return this.getAssociationSparqlTriple(this.baseIRI, this.mrid, 'cim', 'Location', 'CoordinateSystem', cs.mrid);
|
|
125
|
+
}
|
|
126
|
+
addPowerSystemResource(psr) {
|
|
127
|
+
if (!this.powerSystemResources.has(psr.getUUID())) {
|
|
128
|
+
this.powerSystemResources.set(psr.getUUID(), psr);
|
|
129
|
+
return this.getAssociationSparqlTriple(this.baseIRI, this.mrid, 'cim', 'Location', 'PowerSystemResources', psr.mrid);
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
console.log('Location/PowerSystemResource ' + this.mrid + ' existiert bereits.');
|
|
133
|
+
}
|
|
134
|
+
}
|
|
129
135
|
}
|
|
130
136
|
exports.Location = Location;
|
|
131
137
|
Location.sparqlQuery = `
|
|
@@ -133,7 +139,7 @@ Location.sparqlQuery = `
|
|
|
133
139
|
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
134
140
|
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
135
141
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
136
|
-
PREFIX amp:
|
|
142
|
+
PREFIX amp: <http://amprion.net/Extensions#>
|
|
137
143
|
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
138
144
|
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
139
145
|
|