@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
package/src/model/model/Model.ts
DELETED
|
@@ -1,1253 +0,0 @@
|
|
|
1
|
-
import { Substation } from '../core/Substation';
|
|
2
|
-
import { BaseVoltage } from '../core/BaseVoltage';
|
|
3
|
-
import { BusbarSection } from '../wires/BusbarSection';
|
|
4
|
-
import { Diagram } from '../diagram/Diagram';
|
|
5
|
-
import { Voltage } from '../domain/Voltage';
|
|
6
|
-
import { VoltageLevel } from '../core/VoltageLevel';
|
|
7
|
-
import { ConnectivityNodeContainer } from '../core/ConnectivityNodeContainer';
|
|
8
|
-
import { DiagramObject } from '../diagram/DiagramObject';
|
|
9
|
-
import { IdentifiedObject } from '../core/IdentifiedObject';
|
|
10
|
-
import { EquipmentContainer } from '../core/EquipmentContainer';
|
|
11
|
-
|
|
12
|
-
import { Location } from '../common/Location';
|
|
13
|
-
import { CoordinateSystem } from '../common/CoordinateSystem';
|
|
14
|
-
|
|
15
|
-
import { ACLineSegment } from '../wires/ACLineSegment';
|
|
16
|
-
import { Line } from '../wires/Line';
|
|
17
|
-
|
|
18
|
-
import { Switch } from '../wires/Switch';
|
|
19
|
-
import { Disconnector } from '../wires/Disconnector';
|
|
20
|
-
import { LoadBreakSwitch } from '../wires/LoadBreakSwitch';
|
|
21
|
-
|
|
22
|
-
import { EnergySource } from '../wires/EnergySource';
|
|
23
|
-
import { ExternalNetworkInjection } from '../wires/ExternalNetworkInjection';
|
|
24
|
-
|
|
25
|
-
import { TopologicalIsland } from '../topology/TopologicalIsland';
|
|
26
|
-
import { TopologicalNode } from '../topology/TopologicalNode';
|
|
27
|
-
import { UnitSymbol } from '../domain/UnitSymbol';
|
|
28
|
-
import { UnitMultiplier } from '../domain/UnitMultiplier';
|
|
29
|
-
|
|
30
|
-
import { PowerTransformer } from '../wires/PowerTransformer';
|
|
31
|
-
import { PowerTransformerEnd } from '../wires/PowerTransformerEnd';
|
|
32
|
-
|
|
33
|
-
import { SvPowerFlow } from '../statevariables/SvPowerFlow';
|
|
34
|
-
import { ConductingEquipment } from '../core/ConductingEquipment';
|
|
35
|
-
import { DiagramObjectPoint } from '../diagram/DiagramObjectPoint';
|
|
36
|
-
import { Breaker } from '../wires/Breaker';
|
|
37
|
-
import { SvVoltage } from '../statevariables/SvVoltage';
|
|
38
|
-
import { OperationalLimitSet } from '../operationallimits/OperationalLimitSet';
|
|
39
|
-
import { OperationalLimitType } from '../operationallimits/OperationalLimitType';
|
|
40
|
-
import { CurrentLimit } from '../operationallimits/CurrentLimit';
|
|
41
|
-
import { Equipment } from '../core/Equipment';
|
|
42
|
-
import { PSRType } from '../core/PSRType';
|
|
43
|
-
import { RegulatingControl } from '../wires/RegulatingControl';
|
|
44
|
-
import { SynchronousMachine } from '../wires/SynchronousMachine';
|
|
45
|
-
|
|
46
|
-
import { EquivalentBranch } from '../equivalents/EquivalentBranch';
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
import {
|
|
50
|
-
AssetDeployment,
|
|
51
|
-
AsynchronousMachine,
|
|
52
|
-
Bay, CurveData,
|
|
53
|
-
Cut, FossilFuel, HealthScore,
|
|
54
|
-
HydroGeneratingUnit, IIdentifiedObject,
|
|
55
|
-
Jumper,
|
|
56
|
-
Junction, NuclearGeneratingUnit, PositionPoint, SeriesCompensator, SolarGeneratingUnit, SvTapStep,
|
|
57
|
-
ThermalGeneratingUnit, WindGeneratingUnit,
|
|
58
|
-
WireInfo
|
|
59
|
-
} from '../..';
|
|
60
|
-
import { RDF_XML } from '../../constants/rdf-xml';
|
|
61
|
-
import { generateUUID, writeElement, writeElementAttribute } from '../../util/utils';
|
|
62
|
-
import { Facility } from '../assets/Facility';
|
|
63
|
-
import { OverheadWireInfo } from '../assetinfo/OverheadWireInfo';
|
|
64
|
-
import { CableInfo } from '../assetinfo/CableInfo';
|
|
65
|
-
import { PowerTransformer2WInfo } from '../assetinfo/PowerTransformer2WInfo';
|
|
66
|
-
import { PowerTransformer3WInfo } from '../assetinfo/PowerTransformer3WInfo';
|
|
67
|
-
import { GeographicalRegion } from '../core/GeographicalRegion';
|
|
68
|
-
import { SubGeographicalRegion } from '../core/SubGeographicalRegion';
|
|
69
|
-
import { RdfXmlSerializer } from '../../util/xml/xml.serializer';
|
|
70
|
-
import XMLWriter from 'xml-writer';
|
|
71
|
-
import { SvStatus } from '../statevariables/SvStatus';
|
|
72
|
-
import { DiagramStyle } from '../diagram/DiagramStyle';
|
|
73
|
-
import { DIAGRAM_LAYOUT_TYPES } from '../../constants/cim-constants';
|
|
74
|
-
import { GeneratingUnit } from '../generation/GeneratingUnit';
|
|
75
|
-
import { AssetOwner } from '../assets/AssetOwner';
|
|
76
|
-
import { AssetHealthEvent } from '../assets/AssetHealthEvent';
|
|
77
|
-
import { TapChangerControl } from '../wires/TapChangerControl';
|
|
78
|
-
import { RatioTapChanger } from '../wires/RatioTapChanger';
|
|
79
|
-
import { RatioTapChangerTable } from "../wires/RatioTapChangerTable";
|
|
80
|
-
import { ReactiveCapabilityCurve } from "../wires/ReactiveCapabilityCurve";
|
|
81
|
-
import { PetersenCoil } from "../wires/PetersenCoil";
|
|
82
|
-
import { Feeder } from '../core/Feeder';
|
|
83
|
-
import { IConnectivityNode } from '../../interfaces/model/core/IConnectivityNode';
|
|
84
|
-
import { IEnergyConsumer } from '../../interfaces/model/wires/IEnergyConsumer';
|
|
85
|
-
import { IFacility } from '../../interfaces/model/assets/IFacility';
|
|
86
|
-
import { AnalyticScore } from '../assets/AnalyticScore';
|
|
87
|
-
import { EVImportanceScore } from '../extensions/enervance/assets/EVImportanceScore';
|
|
88
|
-
import { Outage } from '../operations/Outage';
|
|
89
|
-
import { IOutage } from '../../interfaces/model/operations/IOutage';
|
|
90
|
-
import { ITerminal } from '../../interfaces/model/core/ITerminal';
|
|
91
|
-
import { IFault } from '../../interfaces/model/faults/IFault';
|
|
92
|
-
import { ISwitchingAction } from '../../interfaces/model/operations/ISwitchingAction';
|
|
93
|
-
import { ISwitchingPlan } from '../../interfaces/model/operations/ISwitchingPlan';
|
|
94
|
-
import { SwitchingPlan } from '../operations/SwitchingPlan';
|
|
95
|
-
import { IFeeder } from '../../interfaces/model/core/IFeeder';
|
|
96
|
-
import { CsConverter } from '../dc/CsConverter';
|
|
97
|
-
import { VsConverter } from '../dc/VsConverter';
|
|
98
|
-
import { DCLine } from '../dc/DCLine';
|
|
99
|
-
import { DCLineSegment } from '../dc/DCLineSegment';
|
|
100
|
-
import { DCConverterUnit } from '../dc/DCConverterUnit';
|
|
101
|
-
import { ACDCConverterDCTerminal } from '../dc/ACDCConverterDCTerminal';
|
|
102
|
-
import { DCTerminal } from '../dc/DCTerminal';
|
|
103
|
-
import { DCNode } from '../dc/DCNode';
|
|
104
|
-
|
|
105
|
-
export class Model {
|
|
106
|
-
|
|
107
|
-
nodeBreaker: boolean = true;
|
|
108
|
-
|
|
109
|
-
/** die Version gibt die Serialisierungsform an. */
|
|
110
|
-
cimVersion: string = 'v16';
|
|
111
|
-
|
|
112
|
-
voltages: Map<string, Voltage> = new Map();
|
|
113
|
-
baseVoltages: Map<string, BaseVoltage> = new Map();
|
|
114
|
-
|
|
115
|
-
substations: Map<string, Substation> = new Map();
|
|
116
|
-
voltageLevels: Map<string, VoltageLevel> = new Map();
|
|
117
|
-
bays: Map<string, Bay> = new Map();
|
|
118
|
-
feeders: Map<string, IFeeder> = new Map();
|
|
119
|
-
lines: Map<string, Line> = new Map();
|
|
120
|
-
|
|
121
|
-
geographicalRegions: Map<string, GeographicalRegion> = new Map();
|
|
122
|
-
subgeographicalRegions: Map<string, SubGeographicalRegion> = new Map();
|
|
123
|
-
|
|
124
|
-
//connectivityNodes: Map<string, <T extends ConnectivityNode>> = new Map();
|
|
125
|
-
connectivityNodes: Map<string, IConnectivityNode> = new Map();
|
|
126
|
-
|
|
127
|
-
busbarSections: Map<string, BusbarSection> = new Map();
|
|
128
|
-
acLineSegments: Map<string, ACLineSegment> = new Map();
|
|
129
|
-
seriesCompensators: Map<string, SeriesCompensator> = new Map();
|
|
130
|
-
|
|
131
|
-
equivalentBranches: Map<string, EquivalentBranch> = new Map();
|
|
132
|
-
|
|
133
|
-
junctions: Map<string, Junction> = new Map();
|
|
134
|
-
|
|
135
|
-
cuts: Map<string, Cut> = new Map();
|
|
136
|
-
jumpers: Map<string, Jumper> = new Map();
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
powerTransformer: Map<string, PowerTransformer> = new Map();
|
|
140
|
-
powerTransformerEnds: Map<string, PowerTransformerEnd> = new Map();
|
|
141
|
-
|
|
142
|
-
tapChangerControls: Map<string, TapChangerControl> = new Map();
|
|
143
|
-
ratioTapChangers: Map<string, RatioTapChanger> = new Map();
|
|
144
|
-
ratioTapChangerTables: Map<string, RatioTapChangerTable> = new Map();
|
|
145
|
-
|
|
146
|
-
petersenCoils: Map<string, PetersenCoil> = new Map();
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
switches: Map<string, Switch> = new Map();
|
|
150
|
-
breakers: Map<string, Breaker> = new Map();
|
|
151
|
-
disconnectors: Map<string, Disconnector> = new Map();
|
|
152
|
-
loadBreakSwitches: Map<string, LoadBreakSwitch> = new Map();
|
|
153
|
-
|
|
154
|
-
energySources: Map<string, EnergySource> = new Map();
|
|
155
|
-
energyConsumers: Map<string, IEnergyConsumer> = new Map();
|
|
156
|
-
externalNetworkInjections: Map<string, ExternalNetworkInjection> = new Map();
|
|
157
|
-
synchronousMachine: Map<string, SynchronousMachine> = new Map();
|
|
158
|
-
asynchronousMachine: Map<string, AsynchronousMachine> = new Map();
|
|
159
|
-
|
|
160
|
-
// generation
|
|
161
|
-
generatingUnit: Map<string, GeneratingUnit> = new Map();
|
|
162
|
-
thermalGeneratingUnit: Map<string, ThermalGeneratingUnit> = new Map();
|
|
163
|
-
nuclearGeneratingUnit: Map<string, NuclearGeneratingUnit> = new Map();
|
|
164
|
-
hydroGeneratingUnit: Map<string, HydroGeneratingUnit> = new Map();
|
|
165
|
-
windGeneratingUnit: Map<string, WindGeneratingUnit> = new Map();
|
|
166
|
-
solarGeneratingUnit: Map<string, SolarGeneratingUnit> = new Map();
|
|
167
|
-
fossilFuel: FossilFuel[] = [];
|
|
168
|
-
|
|
169
|
-
reactiveCapabilityCurve: Map<string, ReactiveCapabilityCurve> = new Map();
|
|
170
|
-
curveData: CurveData[] = [];
|
|
171
|
-
|
|
172
|
-
regulatingControl: Map<string, RegulatingControl> = new Map();
|
|
173
|
-
|
|
174
|
-
terminals: Map<string, ITerminal> = new Map();
|
|
175
|
-
|
|
176
|
-
topologicalIslands: Map<string, TopologicalIsland> = new Map();
|
|
177
|
-
topologicalNodes: Map<string, TopologicalNode> = new Map();
|
|
178
|
-
|
|
179
|
-
operationalLimitSets: Map<string, OperationalLimitSet> = new Map();
|
|
180
|
-
operationalLimitTypes: Map<string, OperationalLimitType> = new Map();
|
|
181
|
-
currentLimits: Map<string, CurrentLimit> = new Map();
|
|
182
|
-
|
|
183
|
-
svPowerFlow: Array<SvPowerFlow> = []
|
|
184
|
-
svVoltage: Array<SvVoltage> = [];
|
|
185
|
-
|
|
186
|
-
svStatus: Array<SvStatus> = [];
|
|
187
|
-
svTapSteps: Array<SvTapStep> = [];
|
|
188
|
-
|
|
189
|
-
objects: Map<string, IIdentifiedObject> = new Map();
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
psrTypes: Map<string, PSRType> = new Map();
|
|
193
|
-
|
|
194
|
-
/** N-1 */
|
|
195
|
-
outages: Map<string, IOutage> = new Map();
|
|
196
|
-
|
|
197
|
-
/** Schaltmaßnahmen und -pläne */
|
|
198
|
-
switchingActions: Map<string, ISwitchingAction> = new Map();
|
|
199
|
-
switchingPlans: Map<string, ISwitchingPlan> = new Map();
|
|
200
|
-
|
|
201
|
-
/** benutzerdefinierte Ausfälle (ConnectivityNodes,...)*/
|
|
202
|
-
customFaults: Map<string, IFault> = new Map();
|
|
203
|
-
|
|
204
|
-
/** Assets */
|
|
205
|
-
assetDeployments: Map<string, AssetDeployment> = new Map();
|
|
206
|
-
assetOwners: Map<string, AssetOwner> = new Map();
|
|
207
|
-
facilities: Map<string, IFacility> = new Map();
|
|
208
|
-
assetHealthEvents: Map<string, AssetHealthEvent> = new Map();
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
/** AssetTypes */
|
|
212
|
-
overheadWireInfos: Map<string, OverheadWireInfo> = new Map();
|
|
213
|
-
cableInfos: Map<string, CableInfo> = new Map();
|
|
214
|
-
powerTransformer2WInfo: Map<string, PowerTransformer2WInfo> = new Map();
|
|
215
|
-
powerTransformer3WInfo: Map<string, PowerTransformer3WInfo> = new Map();
|
|
216
|
-
|
|
217
|
-
/** Analytics */
|
|
218
|
-
importanceScore: Map<string, EVImportanceScore> = new Map();
|
|
219
|
-
healthScore: Map<string, HealthScore> = new Map();
|
|
220
|
-
|
|
221
|
-
/** Grafik */
|
|
222
|
-
diagrams: Map<string, Diagram> = new Map();
|
|
223
|
-
diagramStyles: DiagramStyle[] = [];
|
|
224
|
-
diagramsArray: Diagram[] = [];
|
|
225
|
-
diagramSize: number = 0;
|
|
226
|
-
|
|
227
|
-
diagramObjects: Map<string, DiagramObject> = new Map();
|
|
228
|
-
diagramObjectPonts: DiagramObjectPoint[] = [];
|
|
229
|
-
|
|
230
|
-
/** Geo */
|
|
231
|
-
locations: Map<string, Location> = new Map();
|
|
232
|
-
coordinateSystems: Map<string, CoordinateSystem> = new Map();
|
|
233
|
-
positionPoints: PositionPoint[] = [];
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
/** DC Model */
|
|
237
|
-
dcLines: Map<string, DCLine> = new Map();
|
|
238
|
-
|
|
239
|
-
dcConverterUnit: Map<string, DCConverterUnit> = new Map();
|
|
240
|
-
|
|
241
|
-
dcLineSegment: Map<string, DCLineSegment> = new Map();
|
|
242
|
-
|
|
243
|
-
csConverter: Map<string, CsConverter> = new Map();
|
|
244
|
-
vsConverter: Map<string, VsConverter> = new Map();
|
|
245
|
-
|
|
246
|
-
dcNodes: Map<string, DCNode> = new Map();
|
|
247
|
-
acDCConverterDCTerminals: Map<string, ACDCConverterDCTerminal> = new Map();
|
|
248
|
-
dcTerminals: Map<string, DCTerminal> = new Map();
|
|
249
|
-
|
|
250
|
-
dcObjects: Map<string, IIdentifiedObject> = new Map();
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
/* cimClassName2Class = getLoadClassConfigNeplan();*/
|
|
254
|
-
|
|
255
|
-
constructor() {
|
|
256
|
-
this.diagramStyles.push(new DiagramStyle(generateUUID(), DIAGRAM_LAYOUT_TYPES.NODE_BREAKER));
|
|
257
|
-
this.diagramStyles.push(new DiagramStyle(generateUUID(), DIAGRAM_LAYOUT_TYPES.BUS_BRANCH));
|
|
258
|
-
this.diagramStyles.push(new DiagramStyle(generateUUID(), DIAGRAM_LAYOUT_TYPES.GEOSCHEMATIC));
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
public getSubstation(uuid: string): Substation | undefined {
|
|
262
|
-
return this.substations.get(uuid);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
public addSubstation(substation: Substation) {
|
|
266
|
-
this.substations.set(substation.getUUID(), substation);
|
|
267
|
-
this.addObject(substation);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
public getBay(uuid: string): Bay | undefined {
|
|
271
|
-
return this.bays.get(uuid);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
public addBay(bay: Bay) {
|
|
275
|
-
this.bays.set(bay.getUUID(), bay);
|
|
276
|
-
this.addObject(bay);
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
public getFeeder(uuid: string): IFeeder | undefined {
|
|
281
|
-
return this.feeders.get(uuid);
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
public addFeeder(feeder: IFeeder) {
|
|
285
|
-
this.feeders.set(feeder.getUUID(), feeder);
|
|
286
|
-
this.addObject(feeder);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
public getConnectivityNode(uuid: string): IConnectivityNode | undefined {
|
|
290
|
-
return this.connectivityNodes.get(uuid);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
public addConnectivityNode(connectivityNode: IConnectivityNode) {
|
|
294
|
-
this.connectivityNodes.set(connectivityNode.getUUID(), connectivityNode);
|
|
295
|
-
this.addObject(connectivityNode as unknown as IdentifiedObject);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
public getOperationalLimitSet(uuid: string): OperationalLimitSet | undefined {
|
|
299
|
-
return this.operationalLimitSets.get(uuid);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
public addOperationalLimitSet(operationalLimitSet: OperationalLimitSet) {
|
|
303
|
-
this.operationalLimitSets.set(operationalLimitSet.getUUID(), operationalLimitSet);
|
|
304
|
-
this.addObject(operationalLimitSet);
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
public getOperationalLimitTypes(): Map<string, OperationalLimitType> {
|
|
308
|
-
return this.operationalLimitTypes;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
public getOperationalLimitType(uuid: string): OperationalLimitType | undefined {
|
|
312
|
-
return this.operationalLimitTypes.get(uuid);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
public getOperationalLimitTypeByName(name: string): OperationalLimitType | undefined {
|
|
316
|
-
for (const type of this.operationalLimitTypes.values()) {
|
|
317
|
-
if (type.name === name) {
|
|
318
|
-
return type;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
public addOperationalLimitType(operationalLimitType: OperationalLimitType) {
|
|
325
|
-
this.operationalLimitTypes.set(operationalLimitType.getUUID(), operationalLimitType);
|
|
326
|
-
this.addObject(operationalLimitType);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
public getCurrentLimit(uuid: string): CurrentLimit | undefined {
|
|
330
|
-
return this.currentLimits.get(uuid);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
public addCurrentLimit(currentLimit: CurrentLimit) {
|
|
334
|
-
this.currentLimits.set(currentLimit.getUUID(), currentLimit);
|
|
335
|
-
this.addObject(currentLimit);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
public getRegulatingControl(uuid: string): RegulatingControl | undefined {
|
|
340
|
-
return this.regulatingControl.get(uuid);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
public addRegulatingControl(regulatingControl: RegulatingControl) {
|
|
344
|
-
this.regulatingControl.set(regulatingControl.mrid, regulatingControl);
|
|
345
|
-
this.addObject(regulatingControl);
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
public getVoltageLevel(uuid: string): VoltageLevel | undefined {
|
|
350
|
-
return this.voltageLevels.get(uuid);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
public addVoltageLevel(voltageLevel: VoltageLevel) {
|
|
354
|
-
this.voltageLevels.set(voltageLevel.getUUID(), voltageLevel);
|
|
355
|
-
this.addObject(voltageLevel);
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
public getBusbarSection(uuid: string): BusbarSection | undefined {
|
|
360
|
-
return this.busbarSections.get(uuid);
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
public addBusbarSection(busbarSection: BusbarSection) {
|
|
364
|
-
this.busbarSections.set(busbarSection.getUUID(), busbarSection);
|
|
365
|
-
this.addObject(busbarSection);
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
public getDiagram(uuid: string): Diagram | undefined {
|
|
369
|
-
return this.diagrams.get(uuid);
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
public addDiagram(diagram: Diagram) {
|
|
373
|
-
this.diagrams.set(diagram.getUUID(), diagram);
|
|
374
|
-
this.addObject(diagram);
|
|
375
|
-
this.diagramSize = this.diagramSize + 1;
|
|
376
|
-
this.diagramsArray.push(diagram);
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
public getDiagramStyle(name: string): DiagramStyle | undefined {
|
|
380
|
-
for (const diagramStyle of this.diagramStyles) {
|
|
381
|
-
if (diagramStyle.name === name) {
|
|
382
|
-
return diagramStyle;
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
return;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
public addDiagramStyle(diagramStyle: DiagramStyle) {
|
|
389
|
-
this.diagramStyles.push(diagramStyle);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
public addFossilFuel(fossilFuel: FossilFuel) {
|
|
393
|
-
this.fossilFuel.push(fossilFuel);
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
public addCurveData(curveData: CurveData) {
|
|
397
|
-
this.curveData.push(curveData);
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
public addDiagramObjectPoint(diagramObjectPoint: DiagramObjectPoint) {
|
|
401
|
-
;
|
|
402
|
-
this.diagramObjectPonts.push(diagramObjectPoint);
|
|
403
|
-
this.addObject(diagramObjectPoint);
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
public getLocation(uuid: string): Location | undefined {
|
|
408
|
-
return this.locations.get(uuid);
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
public addLocation(location: Location) {
|
|
412
|
-
this.locations.set(location.getUUID(), location);
|
|
413
|
-
this.addObject(location);
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
public getCoordinateSystem(uuid: string): CoordinateSystem | undefined {
|
|
417
|
-
return this.coordinateSystems.get(uuid);
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
public addCoordinateSystem(coordinateSystem: CoordinateSystem) {
|
|
421
|
-
this.coordinateSystems.set(coordinateSystem.getUUID(), coordinateSystem);
|
|
422
|
-
this.addObject(coordinateSystem);
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
public getVoltage(voltageNumber: number): Voltage {
|
|
426
|
-
|
|
427
|
-
// 0 = key, 1 = value
|
|
428
|
-
for (const entry of this.voltages.entries()) {
|
|
429
|
-
const voltage = entry[1];
|
|
430
|
-
if (voltage && voltage.value === voltageNumber) {
|
|
431
|
-
return voltage;
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
const voltage = new Voltage(voltageNumber, UnitMultiplier.k, UnitSymbol.V);
|
|
435
|
-
this.voltages.set(String(voltageNumber), voltage);
|
|
436
|
-
|
|
437
|
-
return voltage;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
public getBaseVoltageByUUID(uuid: string): BaseVoltage | undefined {
|
|
442
|
-
return this.baseVoltages.get(uuid);
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
public getBaseVoltage(voltage: number): BaseVoltage | undefined {
|
|
446
|
-
// 0 = key, 1 = value
|
|
447
|
-
for (const entry of this.baseVoltages.entries()) {
|
|
448
|
-
const value = entry[1];
|
|
449
|
-
const nominalVoltage = value.nominalVoltage;
|
|
450
|
-
if (nominalVoltage && nominalVoltage.value === voltage) {
|
|
451
|
-
return value;
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
return;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
public getLine(uuid: string): Line | undefined {
|
|
459
|
-
return this.lines.get(uuid);
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
public addLine(line: Line) {
|
|
463
|
-
this.lines.set(line.getUUID(), line);
|
|
464
|
-
this.addObject(line);
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
public addBaseVoltage(baseVoltage: BaseVoltage) {
|
|
468
|
-
this.baseVoltages.set(baseVoltage.getUUID(), baseVoltage);
|
|
469
|
-
this.addObject(baseVoltage);
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
public getACLineSegment(uuid: string): ACLineSegment | undefined {
|
|
473
|
-
return this.acLineSegments.get(uuid);
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
public addACLineSegment(acLineSegment: ACLineSegment) {
|
|
477
|
-
this.acLineSegments.set(acLineSegment.getUUID(), acLineSegment);
|
|
478
|
-
this.addObject(acLineSegment);
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
public getSeriesCompensator(uuid: string): SeriesCompensator | undefined {
|
|
483
|
-
return this.seriesCompensators.get(uuid);
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
public addSeriesCompensator(seriesCompensator: SeriesCompensator) {
|
|
487
|
-
this.seriesCompensators.set(seriesCompensator.getUUID(), seriesCompensator);
|
|
488
|
-
this.addObject(seriesCompensator);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
public getEquivalentBranch(uuid: string): EquivalentBranch | undefined {
|
|
492
|
-
return this.equivalentBranches.get(uuid);
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
public addEquivalentBranch(equivalentBranch: EquivalentBranch) {
|
|
496
|
-
this.equivalentBranches.set(equivalentBranch.mrid, equivalentBranch);
|
|
497
|
-
this.addObject(equivalentBranch);
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
public getJunction(uuid: string): Junction | undefined {
|
|
501
|
-
return this.junctions.get(uuid);
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
public addJunction(junction: Junction) {
|
|
505
|
-
this.junctions.set(junction.getUUID(), junction);
|
|
506
|
-
this.addObject(junction);
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
public getCut(uuid: string): Cut | undefined {
|
|
510
|
-
return this.cuts.get(uuid);
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
public addCut(cut: Cut) {
|
|
514
|
-
this.cuts.set(cut.getUUID(), cut);
|
|
515
|
-
this.addObject(cut);
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
public getJumper(uuid: string): Jumper | undefined {
|
|
519
|
-
return this.jumpers.get(uuid);
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
public addJumper(jumper: Jumper) {
|
|
523
|
-
this.jumpers.set(jumper.getUUID(), jumper);
|
|
524
|
-
this.addObject(jumper);
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
public getDisconnector(uuid: string): Disconnector | undefined {
|
|
528
|
-
return this.disconnectors.get(uuid);
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
public addDisconnector(disconnector: Disconnector) {
|
|
532
|
-
this.disconnectors.set(disconnector.getUUID(), disconnector);
|
|
533
|
-
this.addObject(disconnector);
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
public getSwitch(uuid: string): Switch | undefined {
|
|
538
|
-
return this.switches.get(uuid);
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
public addSwitch(swtch: Switch) {
|
|
542
|
-
this.switches.set(swtch.getUUID(), swtch);
|
|
543
|
-
this.addObject(swtch);
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
public getBreaker(uuid: string): Breaker | undefined {
|
|
547
|
-
return this.breakers.get(uuid);
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
public addBreaker(breaker: Breaker) {
|
|
551
|
-
this.breakers.set(breaker.getUUID(), breaker);
|
|
552
|
-
this.addObject(breaker);
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
public getLoadBreakSwitch(uuid: string): LoadBreakSwitch | undefined {
|
|
557
|
-
return this.loadBreakSwitches.get(uuid);
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
public addLoadBreakSwitch(loadBreakSwitch: LoadBreakSwitch) {
|
|
561
|
-
this.loadBreakSwitches.set(loadBreakSwitch.getUUID(), loadBreakSwitch);
|
|
562
|
-
this.addObject(loadBreakSwitch);
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
public getTerminal(uuid: string): ITerminal | undefined {
|
|
567
|
-
return this.terminals.get(uuid);
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
public addTerminal(terminal: ITerminal) {
|
|
571
|
-
this.terminals.set(terminal.getUUID(), terminal);
|
|
572
|
-
this.addObject(terminal);
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
public getExternalNetworkInjection(uuid: string): ExternalNetworkInjection | undefined {
|
|
576
|
-
return this.externalNetworkInjections.get(uuid);
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
public addExternalNetworkInjection(value: ExternalNetworkInjection) {
|
|
580
|
-
this.externalNetworkInjections.set(value.getUUID(), value);
|
|
581
|
-
this.addObject(value);
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
public addAnalyticScore(value: AnalyticScore) {
|
|
585
|
-
if (value instanceof HealthScore) {
|
|
586
|
-
this.healthScore.set(value.getUUID(), value);
|
|
587
|
-
} else if (value instanceof EVImportanceScore) {
|
|
588
|
-
this.importanceScore.set(value.getUUID(), value);
|
|
589
|
-
}
|
|
590
|
-
this.addObject(value);
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
public getAnalyticScore(uuid: string): AnalyticScore | undefined {
|
|
594
|
-
return this.objects.get(uuid) as AnalyticScore;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
public addGeneratingUnit(value: GeneratingUnit) {
|
|
598
|
-
if (value instanceof ThermalGeneratingUnit) {
|
|
599
|
-
this.thermalGeneratingUnit.set(value.getUUID(), value);
|
|
600
|
-
} else if (value instanceof NuclearGeneratingUnit) {
|
|
601
|
-
this.nuclearGeneratingUnit.set(value.getUUID(), value);
|
|
602
|
-
} else if (value instanceof HydroGeneratingUnit) {
|
|
603
|
-
this.hydroGeneratingUnit.set(value.getUUID(), value);
|
|
604
|
-
} else if (value instanceof WindGeneratingUnit) {
|
|
605
|
-
this.windGeneratingUnit.set(value.getUUID(), value);
|
|
606
|
-
} else if (value instanceof SolarGeneratingUnit) {
|
|
607
|
-
this.solarGeneratingUnit.set(value.getUUID(), value);
|
|
608
|
-
} else {
|
|
609
|
-
this.generatingUnit.set(value.getUUID(), value);
|
|
610
|
-
}
|
|
611
|
-
this.addObject(value);
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
public getGeneratingUnit(uuid: string): GeneratingUnit | undefined {
|
|
615
|
-
return this.objects.get(uuid) as GeneratingUnit;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
public getThermalGeneratingUnit(uuid: string): ThermalGeneratingUnit | undefined {
|
|
619
|
-
return this.thermalGeneratingUnit.get(uuid);
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
public getNuclearGeneratingUnit(uuid: string): NuclearGeneratingUnit | undefined {
|
|
623
|
-
return this.nuclearGeneratingUnit.get(uuid);
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
public getHydroGeneratingUnit(uuid: string): HydroGeneratingUnit | undefined {
|
|
627
|
-
return this.hydroGeneratingUnit.get(uuid);
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
public getWindGeneratingUnit(uuid: string): WindGeneratingUnit | undefined {
|
|
631
|
-
return this.windGeneratingUnit.get(uuid);
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
public getSolarGeneratingUnit(uuid: string): SolarGeneratingUnit | undefined {
|
|
635
|
-
return this.solarGeneratingUnit.get(uuid);
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
public getSynchronousMachine(uuid: string): SynchronousMachine | undefined {
|
|
639
|
-
return this.synchronousMachine.get(uuid);
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
public addSynchronousMachine(value: SynchronousMachine) {
|
|
643
|
-
this.synchronousMachine.set(value.getUUID(), value);
|
|
644
|
-
this.addObject(value);
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
public getAsynchronousMachine(uuid: string): AsynchronousMachine | undefined {
|
|
648
|
-
return this.asynchronousMachine.get(uuid);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
public addAsynchronousMachine(value: AsynchronousMachine) {
|
|
652
|
-
this.asynchronousMachine.set(value.getUUID(), value);
|
|
653
|
-
this.addObject(value);
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
public addReactiveCapabilityCurve(value: ReactiveCapabilityCurve) {
|
|
657
|
-
this.reactiveCapabilityCurve.set(value.getUUID(), value);
|
|
658
|
-
this.addObject(value);
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
public getReactiveCapabilityCurve(uuid: string): ReactiveCapabilityCurve | undefined {
|
|
662
|
-
return this.reactiveCapabilityCurve.get(uuid);
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
public getEnergySource(uuid: string): EnergySource | undefined {
|
|
666
|
-
return this.energySources.get(uuid);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
public addEnergySource(value: EnergySource) {
|
|
670
|
-
this.energySources.set(value.getUUID(), value);
|
|
671
|
-
this.addObject(value);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
public addEnergyConsumer(value: IEnergyConsumer) {
|
|
675
|
-
this.energyConsumers.set(value.getUUID(), value);
|
|
676
|
-
this.addObject(value);
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
public getEnergyConsumer(uuid: string): IEnergyConsumer | undefined {
|
|
680
|
-
return this.energyConsumers.get(uuid);
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
public getEquipment(uuid: string): Equipment | undefined {
|
|
684
|
-
return this.objects.get(uuid) as Equipment;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
public getConnectivityNodeContainer(uuid: string): ConnectivityNodeContainer | undefined {
|
|
688
|
-
return this.objects.get(uuid) as ConnectivityNodeContainer;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
public getEquipmentContainer(uuid: string): EquipmentContainer {
|
|
692
|
-
return this.objects.get(uuid) as EquipmentContainer;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
public getConductingEquipment(uuid: string): ConductingEquipment {
|
|
696
|
-
return this.objects.get(uuid) as ConductingEquipment;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
public getDiagramObject(uuid: string): DiagramObject | undefined {
|
|
700
|
-
return this.diagramObjects.get(uuid);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
public addDiagramObject(diagramobject: DiagramObject) {
|
|
704
|
-
this.diagramObjects.set(diagramobject.getUUID(), diagramobject);
|
|
705
|
-
this.addObject(diagramobject);
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
public addTopologicalIsland(value: TopologicalIsland) {
|
|
709
|
-
this.topologicalIslands.set(value.getUUID(), value);
|
|
710
|
-
this.addObject(value);
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
public getTopologicalNode(uuid: string): TopologicalNode | undefined {
|
|
714
|
-
return this.topologicalNodes.get(uuid);
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
public addTopologicalNode(value: TopologicalNode) {
|
|
718
|
-
this.topologicalNodes.set(value.getUUID(), value);
|
|
719
|
-
this.addObject(value);
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
public addPowerTransformer(value: PowerTransformer) {
|
|
723
|
-
this.powerTransformer.set(value.getUUID(), value);
|
|
724
|
-
this.addObject(value);
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
public getPowerTransformer(uuid: string): PowerTransformer | undefined {
|
|
728
|
-
return this.powerTransformer.get(uuid);
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
public addPetersenCoil(value: PetersenCoil) {
|
|
732
|
-
this.petersenCoils.set(value.getUUID(), value);
|
|
733
|
-
this.addObject(value);
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
public getPetersenCoil(uuid: string): PetersenCoil | undefined {
|
|
737
|
-
return this.petersenCoils.get(uuid);
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
public addPowerTransformerEnd(value: PowerTransformerEnd) {
|
|
741
|
-
this.powerTransformerEnds.set(value.getUUID(), value);
|
|
742
|
-
this.addObject(value);
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
public getPowerTransformerEnd(uuid: string): PowerTransformerEnd | undefined {
|
|
746
|
-
return this.powerTransformerEnds.get(uuid);
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
public addSvPowerFlow(value: SvPowerFlow) {
|
|
750
|
-
this.svPowerFlow.push(value);
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
public addSvVoltage(value: SvVoltage) {
|
|
754
|
-
this.svVoltage.push(value);
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
public addSvStatus(value: SvStatus) {
|
|
758
|
-
this.svStatus.push(value);
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
public addSvTapStep(value: SvTapStep) {
|
|
762
|
-
this.svTapSteps.push(value);
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
public getPsrType(uuid: string): PSRType | undefined {
|
|
767
|
-
return this.psrTypes.get(uuid);
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
public getPsrTypeAtName(name: string): PSRType | undefined {
|
|
771
|
-
for (const psrType of this.psrTypes.values()) {
|
|
772
|
-
if (psrType.name === name) return psrType;
|
|
773
|
-
}
|
|
774
|
-
return;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
public addPsrType(psrType: PSRType) {
|
|
778
|
-
this.psrTypes.set(psrType.getUUID(), psrType);
|
|
779
|
-
this.addObject(psrType);
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
/* Assets */
|
|
784
|
-
public addFacility(value: IFacility) {
|
|
785
|
-
this.facilities.set(value.getUUID(), value);
|
|
786
|
-
this.addObject(value);
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
public getFacility(uuid: string): IFacility | undefined {
|
|
790
|
-
return this.facilities.get(uuid);
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
public addAssetDeployment(value: AssetDeployment) {
|
|
794
|
-
this.assetDeployments.set(value.getUUID(), value);
|
|
795
|
-
this.addObject(value);
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
/* Assets */
|
|
799
|
-
public addAssetHealthEvent(value: AssetHealthEvent) {
|
|
800
|
-
this.assetHealthEvents.set(value.getUUID(), value);
|
|
801
|
-
this.addObject(value);
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
public getAssetHealthEvent(uuid: string): AssetHealthEvent | undefined {
|
|
805
|
-
return this.assetHealthEvents.get(uuid);
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
/* AssetTypes */
|
|
809
|
-
public getCableInfo(uuid: string): CableInfo | undefined {
|
|
810
|
-
return this.cableInfos.get(uuid);
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
public addCableInfo(cableInfo: CableInfo) {
|
|
814
|
-
this.cableInfos.set(cableInfo.getUUID(), cableInfo);
|
|
815
|
-
this.addObject(cableInfo);
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
public getOverheadWireInfo(uuid: string): OverheadWireInfo | undefined {
|
|
819
|
-
return this.overheadWireInfos.get(uuid);
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
public addOverheadWireInfo(overheadWireInfo: OverheadWireInfo) {
|
|
823
|
-
this.overheadWireInfos.set(overheadWireInfo.getUUID(), overheadWireInfo);
|
|
824
|
-
this.addObject(overheadWireInfo);
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
/* AssetOwner.xml */
|
|
828
|
-
public addAssetOwner(value: AssetOwner) {
|
|
829
|
-
this.assetOwners.set(value.getUUID(), value);
|
|
830
|
-
this.addObject(value);
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
public getAssetOwner(uuid: string): AssetOwner | undefined {
|
|
834
|
-
return this.assetOwners.get(uuid);
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
public getWireInfoByName(name: string): WireInfo {
|
|
838
|
-
for (const value of this.overheadWireInfos.values()) {
|
|
839
|
-
if (value.name === name) {
|
|
840
|
-
return value;
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
for (const value of this.cableInfos.values()) {
|
|
844
|
-
if (value.name === name) {
|
|
845
|
-
return value;
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
public getPowerTransformer2WInfo(uuid: string): PowerTransformer2WInfo | undefined {
|
|
851
|
-
return this.powerTransformer2WInfo.get(uuid);
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
public addPowerTransformer2WInfo(powerTransformer2WInfo: PowerTransformer2WInfo) {
|
|
855
|
-
this.powerTransformer2WInfo.set(powerTransformer2WInfo.getUUID(), powerTransformer2WInfo);
|
|
856
|
-
this.addObject(powerTransformer2WInfo);
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
public getPowerTransformer3WInfo(uuid: string): PowerTransformer3WInfo | undefined {
|
|
860
|
-
return this.powerTransformer3WInfo.get(uuid);
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
public addPowerTransformer3WInfo(powerTransformer3WInfo: PowerTransformer3WInfo) {
|
|
864
|
-
this.powerTransformer3WInfo.set(powerTransformer3WInfo.getUUID(), powerTransformer3WInfo);
|
|
865
|
-
this.addObject(powerTransformer3WInfo);
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
public getPowerTransformer2WInfoByName(name: string): PowerTransformer2WInfo {
|
|
869
|
-
for (const value of this.powerTransformer2WInfo.values()) {
|
|
870
|
-
if (value.name === name) {
|
|
871
|
-
return value;
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
public getPowerTransformer3WInfoByName(name: string): PowerTransformer3WInfo {
|
|
877
|
-
for (const value of this.powerTransformer3WInfo.values()) {
|
|
878
|
-
if (value.name === name) {
|
|
879
|
-
return value;
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
public getGeographicalRegion(uuid: string): GeographicalRegion | undefined {
|
|
886
|
-
return this.geographicalRegions.get(uuid);
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
public addGeographicalRegion(value: GeographicalRegion) {
|
|
890
|
-
this.geographicalRegions.set(value.getUUID(), value);
|
|
891
|
-
this.addObject(value);
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
public getSubGeographicalRegion(uuid: string): SubGeographicalRegion | undefined {
|
|
895
|
-
return this.subgeographicalRegions.get(uuid);
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
public addSubGeographicalRegion(value: SubGeographicalRegion) {
|
|
899
|
-
this.subgeographicalRegions.set(value.getUUID(), value);
|
|
900
|
-
this.addObject(value);
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
public getObject(uuid: string): IdentifiedObject | undefined {
|
|
904
|
-
if (this.objects.has(uuid)) return this.objects.get(uuid) as IdentifiedObject;
|
|
905
|
-
if (this.dcObjects.has(uuid)) return this.dcObjects.get(uuid) as IdentifiedObject;
|
|
906
|
-
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
private addObject(object: IIdentifiedObject) {
|
|
910
|
-
this.objects.set(object.getUUID(), object);
|
|
911
|
-
}
|
|
912
|
-
private addDCObject(object: IIdentifiedObject) {
|
|
913
|
-
this.dcObjects.set(object.getUUID(), object);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
public toJSON(data: Map<string, IIdentifiedObject>): any[] {
|
|
917
|
-
const jsonData: any[] = [];
|
|
918
|
-
for (const value of data.values()) {
|
|
919
|
-
jsonData.push(value.toJSON());
|
|
920
|
-
}
|
|
921
|
-
return jsonData;
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
public sortData() {
|
|
925
|
-
for (const entry of this.powerTransformer.entries()) {
|
|
926
|
-
const value = entry[1];
|
|
927
|
-
if (value) {
|
|
928
|
-
value.sortTransformerEnds();
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
for (const entry of this.diagramObjects.entries()) {
|
|
933
|
-
const value = entry[1];
|
|
934
|
-
if (value) {
|
|
935
|
-
value.sortPoints();
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
public purgeData() {
|
|
941
|
-
this.voltages.clear();
|
|
942
|
-
this.baseVoltages.clear();
|
|
943
|
-
|
|
944
|
-
this.substations.clear();
|
|
945
|
-
this.voltageLevels.clear();
|
|
946
|
-
this.connectivityNodes.clear();
|
|
947
|
-
this.lines.clear();
|
|
948
|
-
this.bays.clear();
|
|
949
|
-
this.feeders.clear();
|
|
950
|
-
|
|
951
|
-
this.geographicalRegions.clear();
|
|
952
|
-
this.subgeographicalRegions.clear();
|
|
953
|
-
|
|
954
|
-
this.connectivityNodes.clear();
|
|
955
|
-
|
|
956
|
-
this.busbarSections.clear();
|
|
957
|
-
this.acLineSegments.clear();
|
|
958
|
-
this.equivalentBranches.clear();
|
|
959
|
-
this.junctions.clear();
|
|
960
|
-
|
|
961
|
-
this.cuts.clear();
|
|
962
|
-
this.jumpers.clear();
|
|
963
|
-
|
|
964
|
-
this.powerTransformer.clear();
|
|
965
|
-
this.powerTransformerEnds.clear();
|
|
966
|
-
|
|
967
|
-
this.tapChangerControls.clear();
|
|
968
|
-
this.ratioTapChangers.clear();
|
|
969
|
-
this.ratioTapChangerTables.clear();
|
|
970
|
-
|
|
971
|
-
this.petersenCoils.clear();
|
|
972
|
-
|
|
973
|
-
this.switches.clear();
|
|
974
|
-
this.breakers.clear();
|
|
975
|
-
this.disconnectors.clear();
|
|
976
|
-
this.loadBreakSwitches.clear();
|
|
977
|
-
|
|
978
|
-
this.energySources.clear();
|
|
979
|
-
this.energyConsumers.clear();
|
|
980
|
-
this.externalNetworkInjections.clear();
|
|
981
|
-
|
|
982
|
-
this.synchronousMachine.clear();
|
|
983
|
-
this.asynchronousMachine.clear();
|
|
984
|
-
|
|
985
|
-
this.generatingUnit.clear();
|
|
986
|
-
this.thermalGeneratingUnit.clear();
|
|
987
|
-
this.nuclearGeneratingUnit.clear();
|
|
988
|
-
this.hydroGeneratingUnit.clear();
|
|
989
|
-
this.windGeneratingUnit.clear();
|
|
990
|
-
this.solarGeneratingUnit.clear();
|
|
991
|
-
this.fossilFuel = [];
|
|
992
|
-
|
|
993
|
-
this.reactiveCapabilityCurve.clear();
|
|
994
|
-
this.curveData = []
|
|
995
|
-
this.regulatingControl.clear();
|
|
996
|
-
|
|
997
|
-
this.terminals.clear();
|
|
998
|
-
|
|
999
|
-
this.topologicalIslands.clear();
|
|
1000
|
-
this.topologicalNodes.clear();
|
|
1001
|
-
|
|
1002
|
-
this.operationalLimitSets.clear();
|
|
1003
|
-
this.operationalLimitTypes.clear();
|
|
1004
|
-
this.currentLimits.clear();
|
|
1005
|
-
|
|
1006
|
-
this.regulatingControl.clear();
|
|
1007
|
-
|
|
1008
|
-
/** Outages */
|
|
1009
|
-
this.outages.clear();
|
|
1010
|
-
this.switchingPlans.clear();
|
|
1011
|
-
this.switchingActions.clear();
|
|
1012
|
-
this.customFaults.clear();
|
|
1013
|
-
|
|
1014
|
-
this.svPowerFlow = [];
|
|
1015
|
-
this.svVoltage = [];
|
|
1016
|
-
|
|
1017
|
-
this.psrTypes.clear();
|
|
1018
|
-
|
|
1019
|
-
/** Assets */
|
|
1020
|
-
this.assetDeployments.clear();
|
|
1021
|
-
this.assetOwners.clear();
|
|
1022
|
-
this.facilities.clear();
|
|
1023
|
-
this.assetHealthEvents.clear();
|
|
1024
|
-
|
|
1025
|
-
/** AssetTypes */
|
|
1026
|
-
this.overheadWireInfos.clear();
|
|
1027
|
-
this.cableInfos.clear();
|
|
1028
|
-
this.powerTransformer2WInfo.clear();
|
|
1029
|
-
this.powerTransformer3WInfo.clear();
|
|
1030
|
-
|
|
1031
|
-
/** Grafik */
|
|
1032
|
-
this.diagrams.clear();
|
|
1033
|
-
this.diagramObjects.clear();
|
|
1034
|
-
this.diagramsArray = [];
|
|
1035
|
-
this.diagramObjectPonts = [];
|
|
1036
|
-
|
|
1037
|
-
/** Geo */
|
|
1038
|
-
this.locations.clear();
|
|
1039
|
-
this.coordinateSystems.clear();
|
|
1040
|
-
this.positionPoints = [];
|
|
1041
|
-
|
|
1042
|
-
this.objects.clear();
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
public serializeRDFXML(): Map<string, string> {
|
|
1046
|
-
const rdfXmlSerializer = new RdfXmlSerializer(this);
|
|
1047
|
-
return rdfXmlSerializer.exportCGMES();
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
public toCIMXML(xmlWriter: XMLWriter, modelEQUUID: string, profiles: string[], dependentModelUUIDs: string[], mas: string) {
|
|
1051
|
-
// Millisekunden abschneiden
|
|
1052
|
-
const dateTime = new Date().toJSON().slice(0, 19);
|
|
1053
|
-
xmlWriter.startElementNS(RDF_XML.MD_NS_PREFIX, 'FullModel', RDF_XML.MD_NS);
|
|
1054
|
-
|
|
1055
|
-
writeElementAttribute(xmlWriter, RDF_XML.RDF_ABOUT, 'urn:uuid:' + modelEQUUID);
|
|
1056
|
-
writeElement(xmlWriter, `${RDF_XML.MD_NS_PREFIX}:Model.created`, dateTime);
|
|
1057
|
-
writeElement(xmlWriter, `${RDF_XML.MD_NS_PREFIX}:Model.description`, dateTime);
|
|
1058
|
-
writeElement(xmlWriter, `${RDF_XML.MD_NS_PREFIX}:Model.version`, '1');
|
|
1059
|
-
writeElement(xmlWriter, `${RDF_XML.MD_NS_PREFIX}:Model.modelingAuthoritySet`, mas);
|
|
1060
|
-
if (dependentModelUUIDs && dependentModelUUIDs.length > 0) {
|
|
1061
|
-
// <md:Model.DependentOn rdf:resource="urn:uuid:8d73742f-52b1-4f30-8a3b-2ee8efe66e07"/>
|
|
1062
|
-
for (const dependentModelUUID of dependentModelUUIDs) {
|
|
1063
|
-
xmlWriter.startElementNS(RDF_XML.MD_NS_PREFIX, 'Model.DependentOn', RDF_XML.MD_NS);
|
|
1064
|
-
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `urn:uuid:${dependentModelUUID}`);
|
|
1065
|
-
xmlWriter.endElement();
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
for (const profileName of profiles) {
|
|
1069
|
-
writeElement(xmlWriter, `${RDF_XML.MD_NS_PREFIX}:Model.profile`, profileName);
|
|
1070
|
-
}
|
|
1071
|
-
xmlWriter.endElement();
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
public getTapChangerControl(uuid: string): TapChangerControl | undefined {
|
|
1076
|
-
return this.tapChangerControls.get(uuid);
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
public addTapChangerControl(tapChangerControl: TapChangerControl) {
|
|
1080
|
-
this.tapChangerControls.set(tapChangerControl.getUUID(), tapChangerControl);
|
|
1081
|
-
this.addObject(tapChangerControl);
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
public getRatioTapChanger(uuid: string): RatioTapChanger | undefined {
|
|
1085
|
-
return this.ratioTapChangers.get(uuid);
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
public addRatioTapChanger(ratioTapChanger: RatioTapChanger) {
|
|
1089
|
-
this.ratioTapChangers.set(ratioTapChanger.getUUID(), ratioTapChanger);
|
|
1090
|
-
this.addObject(ratioTapChanger);
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
public getRatioTapChangerTable(uuid: string): RatioTapChangerTable | undefined {
|
|
1094
|
-
return this.ratioTapChangerTables.get(uuid);
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
public addRatioTapChangerTable(ratioTapChangerTable: RatioTapChangerTable) {
|
|
1098
|
-
this.ratioTapChangerTables.set(ratioTapChangerTable.getUUID(), ratioTapChangerTable);
|
|
1099
|
-
this.addObject(ratioTapChangerTable);
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
resolveParsedAssociations() {
|
|
1103
|
-
this.objects.forEach((cimInstance: IdentifiedObject) => {
|
|
1104
|
-
cimInstance.resolveParsedAssociations(this);
|
|
1105
|
-
});
|
|
1106
|
-
|
|
1107
|
-
this.dcObjects.forEach((cimInstance: IdentifiedObject) => {
|
|
1108
|
-
cimInstance.resolveParsedAssociations(this);
|
|
1109
|
-
});
|
|
1110
|
-
|
|
1111
|
-
this.positionPoints.forEach((cimInstance: IdentifiedObject) => {
|
|
1112
|
-
cimInstance.resolveParsedAssociations(this);
|
|
1113
|
-
});
|
|
1114
|
-
|
|
1115
|
-
this.customFaults.forEach((cimInstance: IFault) => {
|
|
1116
|
-
cimInstance.resolveParsedAssociations(this);
|
|
1117
|
-
});
|
|
1118
|
-
this.outages.forEach((cimInstance: IOutage) => {
|
|
1119
|
-
cimInstance.resolveParsedAssociations(this);
|
|
1120
|
-
});
|
|
1121
|
-
this.switchingPlans.forEach((cimInstance: SwitchingPlan) => {
|
|
1122
|
-
cimInstance.resolveParsedAssociations(this);
|
|
1123
|
-
});
|
|
1124
|
-
this.switchingActions.forEach((cimInstance: ISwitchingAction) => {
|
|
1125
|
-
cimInstance.resolveParsedAssociations(this);
|
|
1126
|
-
});
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
public getCoordinateSystemByName(name: string): CoordinateSystem | undefined {
|
|
1130
|
-
for (const value of this.coordinateSystems.values()) {
|
|
1131
|
-
if (value.name === name) {
|
|
1132
|
-
return value;
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
return;
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
public getObjectByName(name: string): IdentifiedObject | undefined {
|
|
1139
|
-
for (const value of this.objects.values()) {
|
|
1140
|
-
if (value.name === name) {
|
|
1141
|
-
return value as IdentifiedObject;
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
return;
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
/** N-1 Daten */
|
|
1148
|
-
public addOutage(outage: IOutage) {
|
|
1149
|
-
this.outages.set(outage.getUUID(), outage);
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
public getOutage(uuid: string): IOutage | undefined {
|
|
1153
|
-
return this.outages.get(uuid);
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
public addCustomFault(fault: IFault) {
|
|
1157
|
-
this.customFaults.set(fault.getUUID(), fault);
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
public getCustomFault(uuid: string): IFault | undefined {
|
|
1161
|
-
return this.customFaults.get(uuid);
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
public addSwitchingAction(fault: ISwitchingAction) {
|
|
1165
|
-
this.switchingActions.set(fault.getUUID(), fault);
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
public getSwitchingAction(uuid: string): ISwitchingAction | undefined {
|
|
1169
|
-
return this.switchingActions.get(uuid);
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
public addSwitchingPlan(fault: ISwitchingPlan) {
|
|
1173
|
-
this.switchingPlans.set(fault.getUUID(), fault);
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
public getSwitchingPlan(uuid: string): ISwitchingPlan | undefined {
|
|
1177
|
-
return this.switchingPlans.get(uuid);
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
/** -------------DC Modell --------------------- */
|
|
1182
|
-
public getDCTerminal(uuid: string): DCTerminal | undefined {
|
|
1183
|
-
return this.dcTerminals.get(uuid);
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
public addDCTerminal(object: DCTerminal) {
|
|
1187
|
-
this.dcTerminals.set(object.getUUID(), object);
|
|
1188
|
-
this.addDCObject(object);
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
|
-
public getACDCConverterDCTerminals(uuid: string): ACDCConverterDCTerminal | undefined {
|
|
1192
|
-
return this.acDCConverterDCTerminals.get(uuid);
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
public addACDCConverterDCTerminal(object: ACDCConverterDCTerminal) {
|
|
1196
|
-
this.acDCConverterDCTerminals.set(object.getUUID(), object);
|
|
1197
|
-
this.addDCObject(object);
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
public getDCNode(uuid: string): DCNode | undefined {
|
|
1202
|
-
return this.dcNodes.get(uuid);
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
|
-
public addDCNode(object: DCNode) {
|
|
1206
|
-
this.dcNodes.set(object.getUUID(), object);
|
|
1207
|
-
this.addDCObject(object);
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
public getVSConverter(uuid: string): VsConverter | undefined {
|
|
1211
|
-
return this.vsConverter.get(uuid);
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
public addVSConverter(object: VsConverter) {
|
|
1215
|
-
this.vsConverter.set(object.getUUID(), object);
|
|
1216
|
-
this.addDCObject(object);
|
|
1217
|
-
}
|
|
1218
|
-
public getCSConverter(uuid: string): CsConverter | undefined {
|
|
1219
|
-
return this.csConverter.get(uuid);
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
public addCSConverter(object: CsConverter) {
|
|
1223
|
-
this.csConverter.set(object.getUUID(), object);
|
|
1224
|
-
this.addDCObject(object);
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
public getDCLineSegment(uuid: string): DCLineSegment | undefined {
|
|
1228
|
-
return this.dcLineSegment.get(uuid);
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
public addDCLineSegment(object: DCLineSegment) {
|
|
1232
|
-
this.dcLineSegment.set(object.getUUID(), object);
|
|
1233
|
-
this.addDCObject(object);
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
public getDCConverterUnit(uuid: string): DCConverterUnit | undefined {
|
|
1237
|
-
return this.dcConverterUnit.get(uuid);
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
public addDCConverterUnit(dcCU: DCConverterUnit) {
|
|
1241
|
-
this.dcConverterUnit.set(dcCU.getUUID(), dcCU);
|
|
1242
|
-
this.addDCObject(dcCU);
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
public getDCLine(uuid: string): DCLine | undefined {
|
|
1246
|
-
return this.dcLines.get(uuid);
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
public addDCLine(dcLine: DCLine) {
|
|
1250
|
-
this.dcLines.set(dcLine.getUUID(), dcLine);
|
|
1251
|
-
this.addDCObject(dcLine);
|
|
1252
|
-
}
|
|
1253
|
-
}
|