@enervance/insight-cim-model 0.0.1
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/.nycrc +28 -0
- package/README.md +25 -0
- package/dist/config/lew-sincal/lew-sincal-load.config.d.ts +1 -0
- package/dist/config/lew-sincal/lew-sincal-load.config.js +46 -0
- package/dist/config/lew-sincal/lew-sincal-load.config.js.map +1 -0
- package/dist/config/power-system-datamodel/psdm-load.config.d.ts +1 -0
- package/dist/config/power-system-datamodel/psdm-load.config.js +43 -0
- package/dist/config/power-system-datamodel/psdm-load.config.js.map +1 -0
- package/dist/config/westnetz-integral7/integral7-load.config.d.ts +1 -0
- package/dist/config/westnetz-integral7/integral7-load.config.js +44 -0
- package/dist/config/westnetz-integral7/integral7-load.config.js.map +1 -0
- package/dist/config/westnetz-neplan/callbacks/cb-connectivitynode.d.ts +10 -0
- package/dist/config/westnetz-neplan/callbacks/cb-connectivitynode.js +153 -0
- package/dist/config/westnetz-neplan/callbacks/cb-connectivitynode.js.map +1 -0
- package/dist/config/westnetz-neplan/callbacks/cb-psr.d.ts +6 -0
- package/dist/config/westnetz-neplan/callbacks/cb-psr.js +26 -0
- package/dist/config/westnetz-neplan/callbacks/cb-psr.js.map +1 -0
- package/dist/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.d.ts +6 -0
- package/dist/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.js +60 -0
- package/dist/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.js.map +1 -0
- package/dist/config/westnetz-neplan/neplan-load.config.d.ts +1 -0
- package/dist/config/westnetz-neplan/neplan-load.config.js +51 -0
- package/dist/config/westnetz-neplan/neplan-load.config.js.map +1 -0
- package/dist/config/westnetz-neplan/property-handler-westenergy.config.d.ts +47 -0
- package/dist/config/westnetz-neplan/property-handler-westenergy.config.js +54 -0
- package/dist/config/westnetz-neplan/property-handler-westenergy.config.js.map +1 -0
- package/dist/constants/cim-class-definition.d.ts +1 -0
- package/dist/constants/cim-class-definition.js +120 -0
- package/dist/constants/cim-class-definition.js.map +1 -0
- package/dist/constants/cim-class-names.d.ts +72 -0
- package/dist/constants/cim-class-names.js +77 -0
- package/dist/constants/cim-class-names.js.map +1 -0
- package/dist/constants/cim-constants.d.ts +5 -0
- package/dist/constants/cim-constants.js +10 -0
- package/dist/constants/cim-constants.js.map +1 -0
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.d.ts +1 -0
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js +49 -0
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js.map +1 -0
- package/dist/constants/init-data/ASSSET_OWNER.d.ts +1 -0
- package/dist/constants/init-data/ASSSET_OWNER.js +15 -0
- package/dist/constants/init-data/ASSSET_OWNER.js.map +1 -0
- package/dist/constants/init-data/JENA_SPARQL.d.ts +11 -0
- package/dist/constants/init-data/JENA_SPARQL.js +328 -0
- package/dist/constants/init-data/JENA_SPARQL.js.map +1 -0
- package/dist/constants/init-data/PSR_TYPES.d.ts +1 -0
- package/dist/constants/init-data/PSR_TYPES.js +78 -0
- package/dist/constants/init-data/PSR_TYPES.js.map +1 -0
- package/dist/constants/rdf-xml.d.ts +39 -0
- package/dist/constants/rdf-xml.js +44 -0
- package/dist/constants/rdf-xml.js.map +1 -0
- package/dist/converter/PSDM/ConverterPowerSystemDataModel.d.ts +18 -0
- package/dist/converter/PSDM/ConverterPowerSystemDataModel.js +380 -0
- package/dist/converter/PSDM/ConverterPowerSystemDataModel.js.map +1 -0
- package/dist/converter/PSDM/model/FixedFeedIn.d.ts +11 -0
- package/dist/converter/PSDM/model/FixedFeedIn.js +3 -0
- package/dist/converter/PSDM/model/FixedFeedIn.js.map +1 -0
- package/dist/converter/PSDM/model/Line.d.ts +15 -0
- package/dist/converter/PSDM/model/Line.js +3 -0
- package/dist/converter/PSDM/model/Line.js.map +1 -0
- package/dist/converter/PSDM/model/LineType.d.ts +10 -0
- package/dist/converter/PSDM/model/LineType.js +3 -0
- package/dist/converter/PSDM/model/LineType.js.map +1 -0
- package/dist/converter/PSDM/model/Load.d.ts +14 -0
- package/dist/converter/PSDM/model/Load.js +3 -0
- package/dist/converter/PSDM/model/Load.js.map +1 -0
- package/dist/converter/PSDM/model/Node.d.ts +14 -0
- package/dist/converter/PSDM/model/Node.js +3 -0
- package/dist/converter/PSDM/model/Node.js.map +1 -0
- package/dist/converter/PSDM/model/TimeSeriesMapping.d.ts +5 -0
- package/dist/converter/PSDM/model/TimeSeriesMapping.js +3 -0
- package/dist/converter/PSDM/model/TimeSeriesMapping.js.map +1 -0
- package/dist/converter/PSDM/model/Transformer.d.ts +13 -0
- package/dist/converter/PSDM/model/Transformer.js +3 -0
- package/dist/converter/PSDM/model/Transformer.js.map +1 -0
- package/dist/converter/PSDM/model/TransformerType.d.ts +17 -0
- package/dist/converter/PSDM/model/TransformerType.js +3 -0
- package/dist/converter/PSDM/model/TransformerType.js.map +1 -0
- package/dist/converter/PSDM/model/geo/Crs.d.ts +4 -0
- package/dist/converter/PSDM/model/geo/Crs.js +3 -0
- package/dist/converter/PSDM/model/geo/Crs.js.map +1 -0
- package/dist/converter/PSDM/model/geo/GeoPosition.d.ts +6 -0
- package/dist/converter/PSDM/model/geo/GeoPosition.js +3 -0
- package/dist/converter/PSDM/model/geo/GeoPosition.js.map +1 -0
- package/dist/converter/integral7/ConverterIntegral7.d.ts +106 -0
- package/dist/converter/integral7/ConverterIntegral7.js +2275 -0
- package/dist/converter/integral7/ConverterIntegral7.js.map +1 -0
- package/dist/converter/integral7/config/db-config.d.ts +11 -0
- package/dist/converter/integral7/config/db-config.js +3 -0
- package/dist/converter/integral7/config/db-config.js.map +1 -0
- package/dist/converter/integral7/config/generation-unit-fuel-types.d.ts +50 -0
- package/dist/converter/integral7/config/generation-unit-fuel-types.js +54 -0
- package/dist/converter/integral7/config/generation-unit-fuel-types.js.map +1 -0
- package/dist/converter/integral7/config/integral-prefix.d.ts +20 -0
- package/dist/converter/integral7/config/integral-prefix.js +24 -0
- package/dist/converter/integral7/config/integral-prefix.js.map +1 -0
- package/dist/converter/integral7/model/integral/BaseClass.d.ts +13 -0
- package/dist/converter/integral7/model/integral/BaseClass.js +19 -0
- package/dist/converter/integral7/model/integral/BaseClass.js.map +1 -0
- package/dist/converter/integral7/model/integral/BaseClassNsg.d.ts +11 -0
- package/dist/converter/integral7/model/integral/BaseClassNsg.js +15 -0
- package/dist/converter/integral7/model/integral/BaseClassNsg.js.map +1 -0
- package/dist/converter/integral7/model/integral/KnotenSo.d.ts +14 -0
- package/dist/converter/integral7/model/integral/KnotenSo.js +29 -0
- package/dist/converter/integral7/model/integral/KnotenSo.js.map +1 -0
- package/dist/converter/integral7/model/integral/KnotenSoNsg.d.ts +11 -0
- package/dist/converter/integral7/model/integral/KnotenSoNsg.js +13 -0
- package/dist/converter/integral7/model/integral/KnotenSoNsg.js.map +1 -0
- package/dist/converter/integral7/model/integral/Leitung.d.ts +14 -0
- package/dist/converter/integral7/model/integral/Leitung.js +64 -0
- package/dist/converter/integral7/model/integral/Leitung.js.map +1 -0
- package/dist/converter/integral7/model/integral/LeitungNsg.d.ts +14 -0
- package/dist/converter/integral7/model/integral/LeitungNsg.js +28 -0
- package/dist/converter/integral7/model/integral/LeitungNsg.js.map +1 -0
- package/dist/converter/integral7/model/integral/Point.d.ts +6 -0
- package/dist/converter/integral7/model/integral/Point.js +14 -0
- package/dist/converter/integral7/model/integral/Point.js.map +1 -0
- package/dist/converter/integral7/model/integral/Schaltanlage.d.ts +21 -0
- package/dist/converter/integral7/model/integral/Schaltanlage.js +147 -0
- package/dist/converter/integral7/model/integral/Schaltanlage.js.map +1 -0
- package/dist/converter/integral7/model/integral/SchaltanlageNSG.d.ts +14 -0
- package/dist/converter/integral7/model/integral/SchaltanlageNSG.js +15 -0
- package/dist/converter/integral7/model/integral/SchaltanlageNSG.js.map +1 -0
- package/dist/converter/integral7/model/integral/Schaltanlagenabschnitt.d.ts +16 -0
- package/dist/converter/integral7/model/integral/Schaltanlagenabschnitt.js +30 -0
- package/dist/converter/integral7/model/integral/Schaltanlagenabschnitt.js.map +1 -0
- package/dist/converter/integral7/model/integral/SchaltanlagenabschnittNsg.d.ts +13 -0
- package/dist/converter/integral7/model/integral/SchaltanlagenabschnittNsg.js +15 -0
- package/dist/converter/integral7/model/integral/SchaltanlagenabschnittNsg.js.map +1 -0
- package/dist/converter/integral7/model/integral/Schaltfeld.d.ts +20 -0
- package/dist/converter/integral7/model/integral/Schaltfeld.js +100 -0
- package/dist/converter/integral7/model/integral/Schaltfeld.js.map +1 -0
- package/dist/converter/integral7/model/integral/SchaltfeldNsg.d.ts +17 -0
- package/dist/converter/integral7/model/integral/SchaltfeldNsg.js +16 -0
- package/dist/converter/integral7/model/integral/SchaltfeldNsg.js.map +1 -0
- package/dist/converter/integral7/model/integral/Standort.d.ts +24 -0
- package/dist/converter/integral7/model/integral/Standort.js +34 -0
- package/dist/converter/integral7/model/integral/Standort.js.map +1 -0
- package/dist/converter/integral7/model/integral/StandortNsg.d.ts +10 -0
- package/dist/converter/integral7/model/integral/StandortNsg.js +13 -0
- package/dist/converter/integral7/model/integral/StandortNsg.js.map +1 -0
- package/dist/converter/integral7/model/integral/Trafo2w.d.ts +15 -0
- package/dist/converter/integral7/model/integral/Trafo2w.js +11 -0
- package/dist/converter/integral7/model/integral/Trafo2w.js.map +1 -0
- package/dist/converter/integral7/model/integral/Trafo2wNsg.d.ts +2 -0
- package/dist/converter/integral7/model/integral/Trafo2wNsg.js +7 -0
- package/dist/converter/integral7/model/integral/Trafo2wNsg.js.map +1 -0
- package/dist/converter/integral7/model/interfaces.d.ts +352 -0
- package/dist/converter/integral7/model/interfaces.js +3 -0
- package/dist/converter/integral7/model/interfaces.js.map +1 -0
- package/dist/converter/integral7/sql/integral.sql.d.ts +124 -0
- package/dist/converter/integral7/sql/integral.sql.js +285 -0
- package/dist/converter/integral7/sql/integral.sql.js.map +1 -0
- package/dist/converter/integral7/utils-schema.d.ts +6 -0
- package/dist/converter/integral7/utils-schema.js +43 -0
- package/dist/converter/integral7/utils-schema.js.map +1 -0
- package/dist/converter/integral7/utils-trafo3w.d.ts +13 -0
- package/dist/converter/integral7/utils-trafo3w.js +236 -0
- package/dist/converter/integral7/utils-trafo3w.js.map +1 -0
- package/dist/converter/integral7/utils.d.ts +38 -0
- package/dist/converter/integral7/utils.js +577 -0
- package/dist/converter/integral7/utils.js.map +1 -0
- package/dist/etl-neplan/etl-neplan-contingency-analysis.d.ts +8 -0
- package/dist/etl-neplan/etl-neplan-contingency-analysis.js +113 -0
- package/dist/etl-neplan/etl-neplan-contingency-analysis.js.map +1 -0
- package/dist/etl-neplan/etl-neplan-feederline.d.ts +6 -0
- package/dist/etl-neplan/etl-neplan-feederline.js +91 -0
- package/dist/etl-neplan/etl-neplan-feederline.js.map +1 -0
- package/dist/etl-neplan/etl-neplan.d.ts +9 -0
- package/dist/etl-neplan/etl-neplan.js +222 -0
- package/dist/etl-neplan/etl-neplan.js.map +1 -0
- package/dist/index.d.ts +170 -0
- package/dist/index.js +349 -0
- package/dist/index.js.map +1 -0
- package/dist/interfaces/model/assets/IAsset.d.ts +3 -0
- package/dist/interfaces/model/assets/IAsset.js +3 -0
- package/dist/interfaces/model/assets/IAsset.js.map +1 -0
- package/dist/interfaces/model/assets/IAssetContainer.d.ts +3 -0
- package/dist/interfaces/model/assets/IAssetContainer.js +3 -0
- package/dist/interfaces/model/assets/IAssetContainer.js.map +1 -0
- package/dist/interfaces/model/assets/IFacility.d.ts +3 -0
- package/dist/interfaces/model/assets/IFacility.js +3 -0
- package/dist/interfaces/model/assets/IFacility.js.map +1 -0
- package/dist/interfaces/model/common/IDocument.d.ts +3 -0
- package/dist/interfaces/model/common/IDocument.js +3 -0
- package/dist/interfaces/model/common/IDocument.js.map +1 -0
- package/dist/interfaces/model/core/IACDCTerminal.d.ts +5 -0
- package/dist/interfaces/model/core/IACDCTerminal.js +3 -0
- package/dist/interfaces/model/core/IACDCTerminal.js.map +1 -0
- package/dist/interfaces/model/core/IBaseVoltage.d.ts +6 -0
- package/dist/interfaces/model/core/IBaseVoltage.js +3 -0
- package/dist/interfaces/model/core/IBaseVoltage.js.map +1 -0
- package/dist/interfaces/model/core/IConductingEquipment.d.ts +8 -0
- package/dist/interfaces/model/core/IConductingEquipment.js +3 -0
- package/dist/interfaces/model/core/IConductingEquipment.js.map +1 -0
- package/dist/interfaces/model/core/IConnectivityNode.d.ts +17 -0
- package/dist/interfaces/model/core/IConnectivityNode.js +3 -0
- package/dist/interfaces/model/core/IConnectivityNode.js.map +1 -0
- package/dist/interfaces/model/core/IConnectivityNodeContainer.d.ts +9 -0
- package/dist/interfaces/model/core/IConnectivityNodeContainer.js +3 -0
- package/dist/interfaces/model/core/IConnectivityNodeContainer.js.map +1 -0
- package/dist/interfaces/model/core/IEquipment.d.ts +3 -0
- package/dist/interfaces/model/core/IEquipment.js +3 -0
- package/dist/interfaces/model/core/IEquipment.js.map +1 -0
- package/dist/interfaces/model/core/IEquipmentContainer.d.ts +9 -0
- package/dist/interfaces/model/core/IEquipmentContainer.js +3 -0
- package/dist/interfaces/model/core/IEquipmentContainer.js.map +1 -0
- package/dist/interfaces/model/core/IFeeder.d.ts +11 -0
- package/dist/interfaces/model/core/IFeeder.js +3 -0
- package/dist/interfaces/model/core/IFeeder.js.map +1 -0
- package/dist/interfaces/model/core/IIdentifiedObject.d.ts +52 -0
- package/dist/interfaces/model/core/IIdentifiedObject.js +3 -0
- package/dist/interfaces/model/core/IIdentifiedObject.js.map +1 -0
- package/dist/interfaces/model/core/IPowerSystemResource.d.ts +3 -0
- package/dist/interfaces/model/core/IPowerSystemResource.js +3 -0
- package/dist/interfaces/model/core/IPowerSystemResource.js.map +1 -0
- package/dist/interfaces/model/core/ISubstation.d.ts +6 -0
- package/dist/interfaces/model/core/ISubstation.js +3 -0
- package/dist/interfaces/model/core/ISubstation.js.map +1 -0
- package/dist/interfaces/model/core/ITerminal.d.ts +29 -0
- package/dist/interfaces/model/core/ITerminal.js +3 -0
- package/dist/interfaces/model/core/ITerminal.js.map +1 -0
- package/dist/interfaces/model/core/IVoltageLevel.d.ts +13 -0
- package/dist/interfaces/model/core/IVoltageLevel.js +3 -0
- package/dist/interfaces/model/core/IVoltageLevel.js.map +1 -0
- package/dist/interfaces/model/diagram/IDiagram.d.ts +15 -0
- package/dist/interfaces/model/diagram/IDiagram.js +3 -0
- package/dist/interfaces/model/diagram/IDiagram.js.map +1 -0
- package/dist/interfaces/model/diagram/IDiagramObject.d.ts +19 -0
- package/dist/interfaces/model/diagram/IDiagramObject.js +3 -0
- package/dist/interfaces/model/diagram/IDiagramObject.js.map +1 -0
- package/dist/interfaces/model/diagram/IDiagramObjectPoint.d.ts +11 -0
- package/dist/interfaces/model/diagram/IDiagramObjectPoint.js +3 -0
- package/dist/interfaces/model/diagram/IDiagramObjectPoint.js.map +1 -0
- package/dist/interfaces/model/domain/IActivePower.d.ts +3 -0
- package/dist/interfaces/model/domain/IActivePower.js +3 -0
- package/dist/interfaces/model/domain/IActivePower.js.map +1 -0
- package/dist/interfaces/model/domain/IAngleDegrees.d.ts +3 -0
- package/dist/interfaces/model/domain/IAngleDegrees.js +3 -0
- package/dist/interfaces/model/domain/IAngleDegrees.js.map +1 -0
- package/dist/interfaces/model/domain/IApparentPower.d.ts +3 -0
- package/dist/interfaces/model/domain/IApparentPower.js +3 -0
- package/dist/interfaces/model/domain/IApparentPower.js.map +1 -0
- package/dist/interfaces/model/domain/ICurrentFlow.d.ts +3 -0
- package/dist/interfaces/model/domain/ICurrentFlow.js +3 -0
- package/dist/interfaces/model/domain/ICurrentFlow.js.map +1 -0
- package/dist/interfaces/model/domain/IDataType.d.ts +7 -0
- package/dist/interfaces/model/domain/IDataType.js +3 -0
- package/dist/interfaces/model/domain/IDataType.js.map +1 -0
- package/dist/interfaces/model/domain/IReactivePower.d.ts +3 -0
- package/dist/interfaces/model/domain/IReactivePower.js +3 -0
- package/dist/interfaces/model/domain/IReactivePower.js.map +1 -0
- package/dist/interfaces/model/domain/IVoltage.d.ts +3 -0
- package/dist/interfaces/model/domain/IVoltage.js +3 -0
- package/dist/interfaces/model/domain/IVoltage.js.map +1 -0
- package/dist/interfaces/model/domain/UnitMultiplier.d.ts +13 -0
- package/dist/interfaces/model/domain/UnitMultiplier.js +18 -0
- package/dist/interfaces/model/domain/UnitMultiplier.js.map +1 -0
- package/dist/interfaces/model/domain/UnitSymbol.d.ts +30 -0
- package/dist/interfaces/model/domain/UnitSymbol.js +35 -0
- package/dist/interfaces/model/domain/UnitSymbol.js.map +1 -0
- package/dist/interfaces/model/enums/EnumShapeInfo.d.ts +5 -0
- package/dist/interfaces/model/enums/EnumShapeInfo.js +10 -0
- package/dist/interfaces/model/enums/EnumShapeInfo.js.map +1 -0
- package/dist/interfaces/model/faults/IFault.d.ts +8 -0
- package/dist/interfaces/model/faults/IFault.js +3 -0
- package/dist/interfaces/model/faults/IFault.js.map +1 -0
- package/dist/interfaces/model/model/IModel.d.ts +86 -0
- package/dist/interfaces/model/model/IModel.js +3 -0
- package/dist/interfaces/model/model/IModel.js.map +1 -0
- package/dist/interfaces/model/operations/IOutage.d.ts +11 -0
- package/dist/interfaces/model/operations/IOutage.js +3 -0
- package/dist/interfaces/model/operations/IOutage.js.map +1 -0
- package/dist/interfaces/model/operations/ISwitchingAction.d.ts +6 -0
- package/dist/interfaces/model/operations/ISwitchingAction.js +3 -0
- package/dist/interfaces/model/operations/ISwitchingAction.js.map +1 -0
- package/dist/interfaces/model/operations/ISwitchingPlan.d.ts +11 -0
- package/dist/interfaces/model/operations/ISwitchingPlan.js +3 -0
- package/dist/interfaces/model/operations/ISwitchingPlan.js.map +1 -0
- package/dist/interfaces/model/statevariables/ISvPowerFlow.d.ts +6 -0
- package/dist/interfaces/model/statevariables/ISvPowerFlow.js +3 -0
- package/dist/interfaces/model/statevariables/ISvPowerFlow.js.map +1 -0
- package/dist/interfaces/model/statevariables/ISvVoltage.d.ts +14 -0
- package/dist/interfaces/model/statevariables/ISvVoltage.js +3 -0
- package/dist/interfaces/model/statevariables/ISvVoltage.js.map +1 -0
- package/dist/interfaces/model/topology/ITopologicalIsland.d.ts +10 -0
- package/dist/interfaces/model/topology/ITopologicalIsland.js +3 -0
- package/dist/interfaces/model/topology/ITopologicalIsland.js.map +1 -0
- package/dist/interfaces/model/topology/ITopologicalNode.d.ts +23 -0
- package/dist/interfaces/model/topology/ITopologicalNode.js +3 -0
- package/dist/interfaces/model/topology/ITopologicalNode.js.map +1 -0
- package/dist/interfaces/model/wires/IACLineSegment.d.ts +3 -0
- package/dist/interfaces/model/wires/IACLineSegment.js +3 -0
- package/dist/interfaces/model/wires/IACLineSegment.js.map +1 -0
- package/dist/interfaces/model/wires/IBusbarSection.d.ts +3 -0
- package/dist/interfaces/model/wires/IBusbarSection.js +3 -0
- package/dist/interfaces/model/wires/IBusbarSection.js.map +1 -0
- package/dist/interfaces/model/wires/ICompositeSwitch.d.ts +3 -0
- package/dist/interfaces/model/wires/ICompositeSwitch.js +3 -0
- package/dist/interfaces/model/wires/ICompositeSwitch.js.map +1 -0
- package/dist/interfaces/model/wires/IConductor.d.ts +5 -0
- package/dist/interfaces/model/wires/IConductor.js +3 -0
- package/dist/interfaces/model/wires/IConductor.js.map +1 -0
- package/dist/interfaces/model/wires/IConnector.d.ts +3 -0
- package/dist/interfaces/model/wires/IConnector.js +3 -0
- package/dist/interfaces/model/wires/IConnector.js.map +1 -0
- package/dist/interfaces/model/wires/IDisconnector.d.ts +3 -0
- package/dist/interfaces/model/wires/IDisconnector.js +3 -0
- package/dist/interfaces/model/wires/IDisconnector.js.map +1 -0
- package/dist/interfaces/model/wires/IEnergyConsumer.d.ts +6 -0
- package/dist/interfaces/model/wires/IEnergyConsumer.js +3 -0
- package/dist/interfaces/model/wires/IEnergyConsumer.js.map +1 -0
- package/dist/interfaces/model/wires/IEnergySource.d.ts +15 -0
- package/dist/interfaces/model/wires/IEnergySource.js +3 -0
- package/dist/interfaces/model/wires/IEnergySource.js.map +1 -0
- package/dist/interfaces/model/wires/IExternalNetworkInjection.d.ts +33 -0
- package/dist/interfaces/model/wires/IExternalNetworkInjection.js +3 -0
- package/dist/interfaces/model/wires/IExternalNetworkInjection.js.map +1 -0
- package/dist/interfaces/model/wires/ILoadBreakSwitch.d.ts +3 -0
- package/dist/interfaces/model/wires/ILoadBreakSwitch.js +3 -0
- package/dist/interfaces/model/wires/ILoadBreakSwitch.js.map +1 -0
- package/dist/interfaces/model/wires/IPowerTransformer.d.ts +6 -0
- package/dist/interfaces/model/wires/IPowerTransformer.js +3 -0
- package/dist/interfaces/model/wires/IPowerTransformer.js.map +1 -0
- package/dist/interfaces/model/wires/IPowerTransformerEnd.d.ts +8 -0
- package/dist/interfaces/model/wires/IPowerTransformerEnd.js +3 -0
- package/dist/interfaces/model/wires/IPowerTransformerEnd.js.map +1 -0
- package/dist/interfaces/model/wires/IProtectedSwitch.d.ts +3 -0
- package/dist/interfaces/model/wires/IProtectedSwitch.js +3 -0
- package/dist/interfaces/model/wires/IProtectedSwitch.js.map +1 -0
- package/dist/interfaces/model/wires/IRegulatingCondEq.d.ts +3 -0
- package/dist/interfaces/model/wires/IRegulatingCondEq.js +3 -0
- package/dist/interfaces/model/wires/IRegulatingCondEq.js.map +1 -0
- package/dist/interfaces/model/wires/ISwitch.d.ts +9 -0
- package/dist/interfaces/model/wires/ISwitch.js +3 -0
- package/dist/interfaces/model/wires/ISwitch.js.map +1 -0
- package/dist/interfaces/model/wires/ITransformerEnd.d.ts +13 -0
- package/dist/interfaces/model/wires/ITransformerEnd.js +3 -0
- package/dist/interfaces/model/wires/ITransformerEnd.js.map +1 -0
- package/dist/interfaces/observable/IObservable.d.ts +6 -0
- package/dist/interfaces/observable/IObservable.js +3 -0
- package/dist/interfaces/observable/IObservable.js.map +1 -0
- package/dist/interfaces/observable/IObserver.d.ts +3 -0
- package/dist/interfaces/observable/IObserver.js +3 -0
- package/dist/interfaces/observable/IObserver.js.map +1 -0
- package/dist/interfaces/persistence-interfaces.d.ts +10 -0
- package/dist/interfaces/persistence-interfaces.js +3 -0
- package/dist/interfaces/persistence-interfaces.js.map +1 -0
- package/dist/interfaces/schema-settings/ShapeInfos.d.ts +24 -0
- package/dist/interfaces/schema-settings/ShapeInfos.js +13 -0
- package/dist/interfaces/schema-settings/ShapeInfos.js.map +1 -0
- package/dist/model/assetinfo/AssetInfo.d.ts +6 -0
- package/dist/model/assetinfo/AssetInfo.js +13 -0
- package/dist/model/assetinfo/AssetInfo.js.map +1 -0
- package/dist/model/assetinfo/CableInfo.d.ts +4 -0
- package/dist/model/assetinfo/CableInfo.js +11 -0
- package/dist/model/assetinfo/CableInfo.js.map +1 -0
- package/dist/model/assetinfo/OverheadWireInfo.d.ts +4 -0
- package/dist/model/assetinfo/OverheadWireInfo.js +11 -0
- package/dist/model/assetinfo/OverheadWireInfo.js.map +1 -0
- package/dist/model/assetinfo/PowerTransformer2WInfo.d.ts +6 -0
- package/dist/model/assetinfo/PowerTransformer2WInfo.js +11 -0
- package/dist/model/assetinfo/PowerTransformer2WInfo.js.map +1 -0
- package/dist/model/assetinfo/PowerTransformer3WInfo.d.ts +10 -0
- package/dist/model/assetinfo/PowerTransformer3WInfo.js +11 -0
- package/dist/model/assetinfo/PowerTransformer3WInfo.js.map +1 -0
- package/dist/model/assetinfo/PowerTransformerInfo.d.ts +8 -0
- package/dist/model/assetinfo/PowerTransformerInfo.js +12 -0
- package/dist/model/assetinfo/PowerTransformerInfo.js.map +1 -0
- package/dist/model/assetinfo/TapChangerInfo.d.ts +22 -0
- package/dist/model/assetinfo/TapChangerInfo.js +11 -0
- package/dist/model/assetinfo/TapChangerInfo.js.map +1 -0
- package/dist/model/assetinfo/TransformerEndInfo.d.ts +23 -0
- package/dist/model/assetinfo/TransformerEndInfo.js +11 -0
- package/dist/model/assetinfo/TransformerEndInfo.js.map +1 -0
- package/dist/model/assetinfo/WireInfo.d.ts +14 -0
- package/dist/model/assetinfo/WireInfo.js +11 -0
- package/dist/model/assetinfo/WireInfo.js.map +1 -0
- package/dist/model/assets/AggregateScore.d.ts +4 -0
- package/dist/model/assets/AggregateScore.js +11 -0
- package/dist/model/assets/AggregateScore.js.map +1 -0
- package/dist/model/assets/AnalyticScore.d.ts +12 -0
- package/dist/model/assets/AnalyticScore.js +34 -0
- package/dist/model/assets/AnalyticScore.js.map +1 -0
- package/dist/model/assets/Asset.d.ts +38 -0
- package/dist/model/assets/Asset.js +109 -0
- package/dist/model/assets/Asset.js.map +1 -0
- package/dist/model/assets/AssetContainer.d.ts +5 -0
- package/dist/model/assets/AssetContainer.js +12 -0
- package/dist/model/assets/AssetContainer.js.map +1 -0
- package/dist/model/assets/AssetDeployment.d.ts +22 -0
- package/dist/model/assets/AssetDeployment.js +94 -0
- package/dist/model/assets/AssetDeployment.js.map +1 -0
- package/dist/model/assets/AssetHealthEvent.d.ts +12 -0
- package/dist/model/assets/AssetHealthEvent.js +65 -0
- package/dist/model/assets/AssetHealthEvent.js.map +1 -0
- package/dist/model/assets/AssetOrganisationRole.d.ts +12 -0
- package/dist/model/assets/AssetOrganisationRole.js +43 -0
- package/dist/model/assets/AssetOrganisationRole.js.map +1 -0
- package/dist/model/assets/AssetOwner.d.ts +8 -0
- package/dist/model/assets/AssetOwner.js +48 -0
- package/dist/model/assets/AssetOwner.js.map +1 -0
- package/dist/model/assets/DeploymentDate.d.ts +9 -0
- package/dist/model/assets/DeploymentDate.js +13 -0
- package/dist/model/assets/DeploymentDate.js.map +1 -0
- package/dist/model/assets/DeploymentStateKind.d.ts +7 -0
- package/dist/model/assets/DeploymentStateKind.js +12 -0
- package/dist/model/assets/DeploymentStateKind.js.map +1 -0
- package/dist/model/assets/Facility.d.ts +16 -0
- package/dist/model/assets/Facility.js +91 -0
- package/dist/model/assets/Facility.js.map +1 -0
- package/dist/model/assets/FacilityKind.d.ts +9 -0
- package/dist/model/assets/FacilityKind.js +14 -0
- package/dist/model/assets/FacilityKind.js.map +1 -0
- package/dist/model/assets/HealthScore.d.ts +9 -0
- package/dist/model/assets/HealthScore.js +55 -0
- package/dist/model/assets/HealthScore.js.map +1 -0
- package/dist/model/assets/LifecycleDate.d.ts +10 -0
- package/dist/model/assets/LifecycleDate.js +12 -0
- package/dist/model/assets/LifecycleDate.js.map +1 -0
- package/dist/model/assets/RiskScore.d.ts +4 -0
- package/dist/model/assets/RiskScore.js +11 -0
- package/dist/model/assets/RiskScore.js.map +1 -0
- package/dist/model/assets/TransformerApplicationKind.d.ts +6 -0
- package/dist/model/assets/TransformerApplicationKind.js +11 -0
- package/dist/model/assets/TransformerApplicationKind.js.map +1 -0
- package/dist/model/common/ActivityRecord.d.ts +18 -0
- package/dist/model/common/ActivityRecord.js +52 -0
- package/dist/model/common/ActivityRecord.js.map +1 -0
- package/dist/model/common/CoordinateSystem.d.ts +15 -0
- package/dist/model/common/CoordinateSystem.js +75 -0
- package/dist/model/common/CoordinateSystem.js.map +1 -0
- package/dist/model/common/Document.d.ts +4 -0
- package/dist/model/common/Document.js +11 -0
- package/dist/model/common/Document.js.map +1 -0
- package/dist/model/common/Location.d.ts +25 -0
- package/dist/model/common/Location.js +154 -0
- package/dist/model/common/Location.js.map +1 -0
- package/dist/model/common/OrganisationRole.d.ts +4 -0
- package/dist/model/common/OrganisationRole.js +11 -0
- package/dist/model/common/OrganisationRole.js.map +1 -0
- package/dist/model/common/PositionPoint.d.ts +19 -0
- package/dist/model/common/PositionPoint.js +111 -0
- package/dist/model/common/PositionPoint.js.map +1 -0
- package/dist/model/common/Status.d.ts +7 -0
- package/dist/model/common/Status.js +10 -0
- package/dist/model/common/Status.js.map +1 -0
- package/dist/model/core/ACDCTerminal.d.ts +14 -0
- package/dist/model/core/ACDCTerminal.js +54 -0
- package/dist/model/core/ACDCTerminal.js.map +1 -0
- package/dist/model/core/BaseVoltage.d.ts +22 -0
- package/dist/model/core/BaseVoltage.js +109 -0
- package/dist/model/core/BaseVoltage.js.map +1 -0
- package/dist/model/core/Bay.d.ts +27 -0
- package/dist/model/core/Bay.js +153 -0
- package/dist/model/core/Bay.js.map +1 -0
- package/dist/model/core/ConductingEquipment.d.ts +37 -0
- package/dist/model/core/ConductingEquipment.js +132 -0
- package/dist/model/core/ConductingEquipment.js.map +1 -0
- package/dist/model/core/ConnectivityNode.d.ts +42 -0
- package/dist/model/core/ConnectivityNode.js +317 -0
- package/dist/model/core/ConnectivityNode.js.map +1 -0
- package/dist/model/core/ConnectivityNodeContainer.d.ts +11 -0
- package/dist/model/core/ConnectivityNodeContainer.js +19 -0
- package/dist/model/core/ConnectivityNodeContainer.js.map +1 -0
- package/dist/model/core/Curve.d.ts +12 -0
- package/dist/model/core/Curve.js +34 -0
- package/dist/model/core/Curve.js.map +1 -0
- package/dist/model/core/CurveData.d.ts +15 -0
- package/dist/model/core/CurveData.js +58 -0
- package/dist/model/core/CurveData.js.map +1 -0
- package/dist/model/core/CurveStyle.d.ts +4 -0
- package/dist/model/core/CurveStyle.js +9 -0
- package/dist/model/core/CurveStyle.js.map +1 -0
- package/dist/model/core/Equipment.d.ts +30 -0
- package/dist/model/core/Equipment.js +148 -0
- package/dist/model/core/Equipment.js.map +1 -0
- package/dist/model/core/EquipmentContainer.d.ts +13 -0
- package/dist/model/core/EquipmentContainer.js +31 -0
- package/dist/model/core/EquipmentContainer.js.map +1 -0
- package/dist/model/core/Feeder.d.ts +31 -0
- package/dist/model/core/Feeder.js +143 -0
- package/dist/model/core/Feeder.js.map +1 -0
- package/dist/model/core/GeographicalRegion.d.ts +9 -0
- package/dist/model/core/GeographicalRegion.js +30 -0
- package/dist/model/core/GeographicalRegion.js.map +1 -0
- package/dist/model/core/IdentifiedObject.d.ts +70 -0
- package/dist/model/core/IdentifiedObject.js +225 -0
- package/dist/model/core/IdentifiedObject.js.map +1 -0
- package/dist/model/core/PSRType.d.ts +22 -0
- package/dist/model/core/PSRType.js +116 -0
- package/dist/model/core/PSRType.js.map +1 -0
- package/dist/model/core/PhaseCode.d.ts +23 -0
- package/dist/model/core/PhaseCode.js +28 -0
- package/dist/model/core/PhaseCode.js.map +1 -0
- package/dist/model/core/PowerSystemResource.d.ts +26 -0
- package/dist/model/core/PowerSystemResource.js +81 -0
- package/dist/model/core/PowerSystemResource.js.map +1 -0
- package/dist/model/core/SubGeographicalRegion.d.ts +15 -0
- package/dist/model/core/SubGeographicalRegion.js +49 -0
- package/dist/model/core/SubGeographicalRegion.js.map +1 -0
- package/dist/model/core/Substation.d.ts +34 -0
- package/dist/model/core/Substation.js +233 -0
- package/dist/model/core/Substation.js.map +1 -0
- package/dist/model/core/Terminal.d.ts +68 -0
- package/dist/model/core/Terminal.js +307 -0
- package/dist/model/core/Terminal.js.map +1 -0
- package/dist/model/core/VoltageLevel.d.ts +34 -0
- package/dist/model/core/VoltageLevel.js +162 -0
- package/dist/model/core/VoltageLevel.js.map +1 -0
- package/dist/model/diagram/Diagram.d.ts +29 -0
- package/dist/model/diagram/Diagram.js +105 -0
- package/dist/model/diagram/Diagram.js.map +1 -0
- package/dist/model/diagram/DiagramObject.d.ts +43 -0
- package/dist/model/diagram/DiagramObject.js +275 -0
- package/dist/model/diagram/DiagramObject.js.map +1 -0
- package/dist/model/diagram/DiagramObjectPoint.d.ts +33 -0
- package/dist/model/diagram/DiagramObjectPoint.js +169 -0
- package/dist/model/diagram/DiagramObjectPoint.js.map +1 -0
- package/dist/model/diagram/DiagramStyle.d.ts +9 -0
- package/dist/model/diagram/DiagramStyle.js +29 -0
- package/dist/model/diagram/DiagramStyle.js.map +1 -0
- package/dist/model/diagram/OrientationKind.d.ts +4 -0
- package/dist/model/diagram/OrientationKind.js +9 -0
- package/dist/model/diagram/OrientationKind.js.map +1 -0
- package/dist/model/domain/ActivePower.d.ts +8 -0
- package/dist/model/domain/ActivePower.js +12 -0
- package/dist/model/domain/ActivePower.js.map +1 -0
- package/dist/model/domain/AngleDegrees.d.ts +8 -0
- package/dist/model/domain/AngleDegrees.js +12 -0
- package/dist/model/domain/AngleDegrees.js.map +1 -0
- package/dist/model/domain/ApparentPower.d.ts +8 -0
- package/dist/model/domain/ApparentPower.js +12 -0
- package/dist/model/domain/ApparentPower.js.map +1 -0
- package/dist/model/domain/Capacitance.d.ts +8 -0
- package/dist/model/domain/Capacitance.js +12 -0
- package/dist/model/domain/Capacitance.js.map +1 -0
- package/dist/model/domain/CapacitancePerLength.d.ts +8 -0
- package/dist/model/domain/CapacitancePerLength.js +12 -0
- package/dist/model/domain/CapacitancePerLength.js.map +1 -0
- package/dist/model/domain/ConductancePerLength.d.ts +8 -0
- package/dist/model/domain/ConductancePerLength.js +12 -0
- package/dist/model/domain/ConductancePerLength.js.map +1 -0
- package/dist/model/domain/CurrentFlow.d.ts +8 -0
- package/dist/model/domain/CurrentFlow.js +12 -0
- package/dist/model/domain/CurrentFlow.js.map +1 -0
- package/dist/model/domain/Reactance.d.ts +8 -0
- package/dist/model/domain/Reactance.js +12 -0
- package/dist/model/domain/Reactance.js.map +1 -0
- package/dist/model/domain/ReactancePerLength.d.ts +8 -0
- package/dist/model/domain/ReactancePerLength.js +12 -0
- package/dist/model/domain/ReactancePerLength.js.map +1 -0
- package/dist/model/domain/ReactivePower.d.ts +8 -0
- package/dist/model/domain/ReactivePower.js +12 -0
- package/dist/model/domain/ReactivePower.js.map +1 -0
- package/dist/model/domain/Resistance.d.ts +8 -0
- package/dist/model/domain/Resistance.js +12 -0
- package/dist/model/domain/Resistance.js.map +1 -0
- package/dist/model/domain/ResistancePerLength.d.ts +8 -0
- package/dist/model/domain/ResistancePerLength.js +12 -0
- package/dist/model/domain/ResistancePerLength.js.map +1 -0
- package/dist/model/domain/UnitMultiplier.d.ts +13 -0
- package/dist/model/domain/UnitMultiplier.js +18 -0
- package/dist/model/domain/UnitMultiplier.js.map +1 -0
- package/dist/model/domain/UnitSymbol.d.ts +30 -0
- package/dist/model/domain/UnitSymbol.js +35 -0
- package/dist/model/domain/UnitSymbol.js.map +1 -0
- package/dist/model/domain/Voltage.d.ts +8 -0
- package/dist/model/domain/Voltage.js +12 -0
- package/dist/model/domain/Voltage.js.map +1 -0
- package/dist/model/equivalents/EquivalentBranch.d.ts +34 -0
- package/dist/model/equivalents/EquivalentBranch.js +161 -0
- package/dist/model/equivalents/EquivalentBranch.js.map +1 -0
- package/dist/model/equivalents/EquivalentEquipment.d.ts +4 -0
- package/dist/model/equivalents/EquivalentEquipment.js +11 -0
- package/dist/model/equivalents/EquivalentEquipment.js.map +1 -0
- package/dist/model/extensions/amprion/core/AMPRIONBay.d.ts +16 -0
- package/dist/model/extensions/amprion/core/AMPRIONBay.js +92 -0
- package/dist/model/extensions/amprion/core/AMPRIONBay.js.map +1 -0
- package/dist/model/extensions/amprion/core/AMPRIONConnectivityNode.d.ts +11 -0
- package/dist/model/extensions/amprion/core/AMPRIONConnectivityNode.js +43 -0
- package/dist/model/extensions/amprion/core/AMPRIONConnectivityNode.js.map +1 -0
- package/dist/model/extensions/enervance/assets/EVImportanceScore.d.ts +9 -0
- package/dist/model/extensions/enervance/assets/EVImportanceScore.js +55 -0
- package/dist/model/extensions/enervance/assets/EVImportanceScore.js.map +1 -0
- package/dist/model/extensions/enervance/core/EVTerminal.d.ts +11 -0
- package/dist/model/extensions/enervance/core/EVTerminal.js +59 -0
- package/dist/model/extensions/enervance/core/EVTerminal.js.map +1 -0
- package/dist/model/extensions/enervance/operations/EVTerminalAction.d.ts +23 -0
- package/dist/model/extensions/enervance/operations/EVTerminalAction.js +112 -0
- package/dist/model/extensions/enervance/operations/EVTerminalAction.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.d.ts +17 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js +108 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.d.ts +33 -0
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js +279 -0
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/core/WNFeeder.d.ts +19 -0
- package/dist/model/extensions/neplan-westnetz/core/WNFeeder.js +92 -0
- package/dist/model/extensions/neplan-westnetz/core/WNFeeder.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode.d.ts +20 -0
- package/dist/model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode.js +95 -0
- package/dist/model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/operations/WNOutage.d.ts +18 -0
- package/dist/model/extensions/neplan-westnetz/operations/WNOutage.js +97 -0
- package/dist/model/extensions/neplan-westnetz/operations/WNOutage.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.d.ts +36 -0
- package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.js +319 -0
- package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.js.map +1 -0
- package/dist/model/faults/EquipmentFault.d.ts +4 -0
- package/dist/model/faults/EquipmentFault.js +11 -0
- package/dist/model/faults/EquipmentFault.js.map +1 -0
- package/dist/model/faults/Fault.d.ts +13 -0
- package/dist/model/faults/Fault.js +31 -0
- package/dist/model/faults/Fault.js.map +1 -0
- package/dist/model/faults/LineFault.d.ts +4 -0
- package/dist/model/faults/LineFault.js +11 -0
- package/dist/model/faults/LineFault.js.map +1 -0
- package/dist/model/generation/FossilFuel.d.ts +12 -0
- package/dist/model/generation/FossilFuel.js +46 -0
- package/dist/model/generation/FossilFuel.js.map +1 -0
- package/dist/model/generation/FuelType.d.ts +8 -0
- package/dist/model/generation/FuelType.js +13 -0
- package/dist/model/generation/FuelType.js.map +1 -0
- package/dist/model/generation/GeneratingUnit.d.ts +32 -0
- package/dist/model/generation/GeneratingUnit.js +112 -0
- package/dist/model/generation/GeneratingUnit.js.map +1 -0
- package/dist/model/generation/GeneratorControlSource.d.ts +6 -0
- package/dist/model/generation/GeneratorControlSource.js +11 -0
- package/dist/model/generation/GeneratorControlSource.js.map +1 -0
- package/dist/model/generation/HydroEnergyConversionKind.d.ts +4 -0
- package/dist/model/generation/HydroEnergyConversionKind.js +9 -0
- package/dist/model/generation/HydroEnergyConversionKind.js.map +1 -0
- package/dist/model/generation/HydroGeneratingUnit.d.ts +8 -0
- package/dist/model/generation/HydroGeneratingUnit.js +11 -0
- package/dist/model/generation/HydroGeneratingUnit.js.map +1 -0
- package/dist/model/generation/HydroPlantStorageKind.d.ts +5 -0
- package/dist/model/generation/HydroPlantStorageKind.js +10 -0
- package/dist/model/generation/HydroPlantStorageKind.js.map +1 -0
- package/dist/model/generation/HydroPowerPlant.d.ts +8 -0
- package/dist/model/generation/HydroPowerPlant.js +13 -0
- package/dist/model/generation/HydroPowerPlant.js.map +1 -0
- package/dist/model/generation/HydroPump.d.ts +8 -0
- package/dist/model/generation/HydroPump.js +11 -0
- package/dist/model/generation/HydroPump.js.map +1 -0
- package/dist/model/generation/NuclearGeneratingUnit.d.ts +4 -0
- package/dist/model/generation/NuclearGeneratingUnit.js +11 -0
- package/dist/model/generation/NuclearGeneratingUnit.js.map +1 -0
- package/dist/model/generation/SolarGeneratingUnit.d.ts +4 -0
- package/dist/model/generation/SolarGeneratingUnit.js +11 -0
- package/dist/model/generation/SolarGeneratingUnit.js.map +1 -0
- package/dist/model/generation/ThermalGeneratingUnit.d.ts +11 -0
- package/dist/model/generation/ThermalGeneratingUnit.js +36 -0
- package/dist/model/generation/ThermalGeneratingUnit.js.map +1 -0
- package/dist/model/generation/WindGenUnitKind.d.ts +4 -0
- package/dist/model/generation/WindGenUnitKind.js +9 -0
- package/dist/model/generation/WindGenUnitKind.js.map +1 -0
- package/dist/model/generation/WindGeneratingUnit.d.ts +6 -0
- package/dist/model/generation/WindGeneratingUnit.js +11 -0
- package/dist/model/generation/WindGeneratingUnit.js.map +1 -0
- package/dist/model/loadmodel/ConformLoad.d.ts +8 -0
- package/dist/model/loadmodel/ConformLoad.js +30 -0
- package/dist/model/loadmodel/ConformLoad.js.map +1 -0
- package/dist/model/model/Model.d.ts +293 -0
- package/dist/model/model/Model.js +792 -0
- package/dist/model/model/Model.js.map +1 -0
- package/dist/model/operationallimits/CurrentLimit.d.ts +17 -0
- package/dist/model/operationallimits/CurrentLimit.js +79 -0
- package/dist/model/operationallimits/CurrentLimit.js.map +1 -0
- package/dist/model/operationallimits/ENTSOEOperationalLimitType.d.ts +5 -0
- package/dist/model/operationallimits/ENTSOEOperationalLimitType.js +10 -0
- package/dist/model/operationallimits/ENTSOEOperationalLimitType.js.map +1 -0
- package/dist/model/operationallimits/LimitTypeKind.d.ts +9 -0
- package/dist/model/operationallimits/LimitTypeKind.js +14 -0
- package/dist/model/operationallimits/LimitTypeKind.js.map +1 -0
- package/dist/model/operationallimits/OperationalLimit.d.ts +15 -0
- package/dist/model/operationallimits/OperationalLimit.js +62 -0
- package/dist/model/operationallimits/OperationalLimit.js.map +1 -0
- package/dist/model/operationallimits/OperationalLimitDirectionKind.d.ts +5 -0
- package/dist/model/operationallimits/OperationalLimitDirectionKind.js +10 -0
- package/dist/model/operationallimits/OperationalLimitDirectionKind.js.map +1 -0
- package/dist/model/operationallimits/OperationalLimitSet.d.ts +23 -0
- package/dist/model/operationallimits/OperationalLimitSet.js +104 -0
- package/dist/model/operationallimits/OperationalLimitSet.js.map +1 -0
- package/dist/model/operationallimits/OperationalLimitType.d.ts +20 -0
- package/dist/model/operationallimits/OperationalLimitType.js +74 -0
- package/dist/model/operationallimits/OperationalLimitType.js.map +1 -0
- package/dist/model/operations/Outage.d.ts +18 -0
- package/dist/model/operations/Outage.js +48 -0
- package/dist/model/operations/Outage.js.map +1 -0
- package/dist/model/operations/SwitchAction.d.ts +6 -0
- package/dist/model/operations/SwitchAction.js +11 -0
- package/dist/model/operations/SwitchAction.js.map +1 -0
- package/dist/model/operations/SwitchActionKind.d.ts +6 -0
- package/dist/model/operations/SwitchActionKind.js +11 -0
- package/dist/model/operations/SwitchActionKind.js.map +1 -0
- package/dist/model/operations/SwitchingAction.d.ts +14 -0
- package/dist/model/operations/SwitchingAction.js +32 -0
- package/dist/model/operations/SwitchingAction.js.map +1 -0
- package/dist/model/operations/SwitchingPlan.d.ts +26 -0
- package/dist/model/operations/SwitchingPlan.js +102 -0
- package/dist/model/operations/SwitchingPlan.js.map +1 -0
- package/dist/model/operations/UnplannedOutage.d.ts +4 -0
- package/dist/model/operations/UnplannedOutage.js +11 -0
- package/dist/model/operations/UnplannedOutage.js.map +1 -0
- package/dist/model/statevariables/StateVariable.d.ts +9 -0
- package/dist/model/statevariables/StateVariable.js +23 -0
- package/dist/model/statevariables/StateVariable.js.map +1 -0
- package/dist/model/statevariables/SvPowerFlow.d.ts +17 -0
- package/dist/model/statevariables/SvPowerFlow.js +60 -0
- package/dist/model/statevariables/SvPowerFlow.js.map +1 -0
- package/dist/model/statevariables/SvStatus.d.ts +12 -0
- package/dist/model/statevariables/SvStatus.js +45 -0
- package/dist/model/statevariables/SvStatus.js.map +1 -0
- package/dist/model/statevariables/SvTapStep.d.ts +12 -0
- package/dist/model/statevariables/SvTapStep.js +46 -0
- package/dist/model/statevariables/SvTapStep.js.map +1 -0
- package/dist/model/statevariables/SvVoltage.d.ts +16 -0
- package/dist/model/statevariables/SvVoltage.js +60 -0
- package/dist/model/statevariables/SvVoltage.js.map +1 -0
- package/dist/model/topology/TopologicalIsland.d.ts +13 -0
- package/dist/model/topology/TopologicalIsland.js +50 -0
- package/dist/model/topology/TopologicalIsland.js.map +1 -0
- package/dist/model/topology/TopologicalNode.d.ts +40 -0
- package/dist/model/topology/TopologicalNode.js +152 -0
- package/dist/model/topology/TopologicalNode.js.map +1 -0
- package/dist/model/wires/ACLineSegment.d.ts +33 -0
- package/dist/model/wires/ACLineSegment.js +206 -0
- package/dist/model/wires/ACLineSegment.js.map +1 -0
- package/dist/model/wires/AsynchronousMachine.d.ts +19 -0
- package/dist/model/wires/AsynchronousMachine.js +42 -0
- package/dist/model/wires/AsynchronousMachine.js.map +1 -0
- package/dist/model/wires/AsynchronousMachineKind.d.ts +4 -0
- package/dist/model/wires/AsynchronousMachineKind.js +9 -0
- package/dist/model/wires/AsynchronousMachineKind.js.map +1 -0
- package/dist/model/wires/Breaker.d.ts +12 -0
- package/dist/model/wires/Breaker.js +76 -0
- package/dist/model/wires/Breaker.js.map +1 -0
- package/dist/model/wires/BusbarSection.d.ts +12 -0
- package/dist/model/wires/BusbarSection.js +64 -0
- package/dist/model/wires/BusbarSection.js.map +1 -0
- package/dist/model/wires/Clamp.d.ts +6 -0
- package/dist/model/wires/Clamp.js +35 -0
- package/dist/model/wires/Clamp.js.map +1 -0
- package/dist/model/wires/CompositeSwitch.d.ts +5 -0
- package/dist/model/wires/CompositeSwitch.js +12 -0
- package/dist/model/wires/CompositeSwitch.js.map +1 -0
- package/dist/model/wires/Conductor.d.ts +13 -0
- package/dist/model/wires/Conductor.js +45 -0
- package/dist/model/wires/Conductor.js.map +1 -0
- package/dist/model/wires/Connector.d.ts +5 -0
- package/dist/model/wires/Connector.js +17 -0
- package/dist/model/wires/Connector.js.map +1 -0
- package/dist/model/wires/Cut.d.ts +4 -0
- package/dist/model/wires/Cut.js +11 -0
- package/dist/model/wires/Cut.js.map +1 -0
- package/dist/model/wires/Disconnector.d.ts +18 -0
- package/dist/model/wires/Disconnector.js +106 -0
- package/dist/model/wires/Disconnector.js.map +1 -0
- package/dist/model/wires/EarthFaultCompensator.d.ts +7 -0
- package/dist/model/wires/EarthFaultCompensator.js +19 -0
- package/dist/model/wires/EarthFaultCompensator.js.map +1 -0
- package/dist/model/wires/EnergyConsumer.d.ts +37 -0
- package/dist/model/wires/EnergyConsumer.js +189 -0
- package/dist/model/wires/EnergyConsumer.js.map +1 -0
- package/dist/model/wires/EnergySource.d.ts +41 -0
- package/dist/model/wires/EnergySource.js +198 -0
- package/dist/model/wires/EnergySource.js.map +1 -0
- package/dist/model/wires/ExternalNetworkInjection.d.ts +46 -0
- package/dist/model/wires/ExternalNetworkInjection.js +195 -0
- package/dist/model/wires/ExternalNetworkInjection.js.map +1 -0
- package/dist/model/wires/Ground.d.ts +8 -0
- package/dist/model/wires/Ground.js +38 -0
- package/dist/model/wires/Ground.js.map +1 -0
- package/dist/model/wires/GroundDisconnector.d.ts +8 -0
- package/dist/model/wires/GroundDisconnector.js +38 -0
- package/dist/model/wires/GroundDisconnector.js.map +1 -0
- package/dist/model/wires/Jumper.d.ts +4 -0
- package/dist/model/wires/Jumper.js +11 -0
- package/dist/model/wires/Jumper.js.map +1 -0
- package/dist/model/wires/Junction.d.ts +10 -0
- package/dist/model/wires/Junction.js +51 -0
- package/dist/model/wires/Junction.js.map +1 -0
- package/dist/model/wires/Line.d.ts +20 -0
- package/dist/model/wires/Line.js +101 -0
- package/dist/model/wires/Line.js.map +1 -0
- package/dist/model/wires/LoadBreakSwitch.d.ts +16 -0
- package/dist/model/wires/LoadBreakSwitch.js +93 -0
- package/dist/model/wires/LoadBreakSwitch.js.map +1 -0
- package/dist/model/wires/PetersenCoil.d.ts +19 -0
- package/dist/model/wires/PetersenCoil.js +71 -0
- package/dist/model/wires/PetersenCoil.js.map +1 -0
- package/dist/model/wires/PetersenCoilModeKind.d.ts +5 -0
- package/dist/model/wires/PetersenCoilModeKind.js +10 -0
- package/dist/model/wires/PetersenCoilModeKind.js.map +1 -0
- package/dist/model/wires/Plant.d.ts +5 -0
- package/dist/model/wires/Plant.js +12 -0
- package/dist/model/wires/Plant.js.map +1 -0
- package/dist/model/wires/PowerTransformer.d.ts +30 -0
- package/dist/model/wires/PowerTransformer.js +170 -0
- package/dist/model/wires/PowerTransformer.js.map +1 -0
- package/dist/model/wires/PowerTransformerEnd.d.ts +33 -0
- package/dist/model/wires/PowerTransformerEnd.js +147 -0
- package/dist/model/wires/PowerTransformerEnd.js.map +1 -0
- package/dist/model/wires/ProtectedSwitch.d.ts +4 -0
- package/dist/model/wires/ProtectedSwitch.js +11 -0
- package/dist/model/wires/ProtectedSwitch.js.map +1 -0
- package/dist/model/wires/RatioTapChanger.d.ts +15 -0
- package/dist/model/wires/RatioTapChanger.js +64 -0
- package/dist/model/wires/RatioTapChanger.js.map +1 -0
- package/dist/model/wires/RatioTapChangerTable.d.ts +10 -0
- package/dist/model/wires/RatioTapChangerTable.js +30 -0
- package/dist/model/wires/RatioTapChangerTable.js.map +1 -0
- package/dist/model/wires/RatioTapChangerTablePoint.d.ts +11 -0
- package/dist/model/wires/RatioTapChangerTablePoint.js +42 -0
- package/dist/model/wires/RatioTapChangerTablePoint.js.map +1 -0
- package/dist/model/wires/ReactiveCapabilityCurve.d.ts +10 -0
- package/dist/model/wires/ReactiveCapabilityCurve.js +31 -0
- package/dist/model/wires/ReactiveCapabilityCurve.js.map +1 -0
- package/dist/model/wires/Recloser.d.ts +6 -0
- package/dist/model/wires/Recloser.js +35 -0
- package/dist/model/wires/Recloser.js.map +1 -0
- package/dist/model/wires/RegulatingCondEq.d.ts +15 -0
- package/dist/model/wires/RegulatingCondEq.js +55 -0
- package/dist/model/wires/RegulatingCondEq.js.map +1 -0
- package/dist/model/wires/RegulatingControl.d.ts +32 -0
- package/dist/model/wires/RegulatingControl.js +139 -0
- package/dist/model/wires/RegulatingControl.js.map +1 -0
- package/dist/model/wires/RegulatingControlModeKind.d.ts +10 -0
- package/dist/model/wires/RegulatingControlModeKind.js +15 -0
- package/dist/model/wires/RegulatingControlModeKind.js.map +1 -0
- package/dist/model/wires/RotatingMachine.d.ts +27 -0
- package/dist/model/wires/RotatingMachine.js +112 -0
- package/dist/model/wires/RotatingMachine.js.map +1 -0
- package/dist/model/wires/SeriesCompensator.d.ts +7 -0
- package/dist/model/wires/SeriesCompensator.js +41 -0
- package/dist/model/wires/SeriesCompensator.js.map +1 -0
- package/dist/model/wires/ShortCircuitRotorKind.d.ts +6 -0
- package/dist/model/wires/ShortCircuitRotorKind.js +11 -0
- package/dist/model/wires/ShortCircuitRotorKind.js.map +1 -0
- package/dist/model/wires/Switch.d.ts +33 -0
- package/dist/model/wires/Switch.js +166 -0
- package/dist/model/wires/Switch.js.map +1 -0
- package/dist/model/wires/SynchronousMachine.d.ts +50 -0
- package/dist/model/wires/SynchronousMachine.js +193 -0
- package/dist/model/wires/SynchronousMachine.js.map +1 -0
- package/dist/model/wires/SynchronousMachineKind.d.ts +9 -0
- package/dist/model/wires/SynchronousMachineKind.js +14 -0
- package/dist/model/wires/SynchronousMachineKind.js.map +1 -0
- package/dist/model/wires/SynchronousMachineOperatingMode.d.ts +5 -0
- package/dist/model/wires/SynchronousMachineOperatingMode.js +10 -0
- package/dist/model/wires/SynchronousMachineOperatingMode.js.map +1 -0
- package/dist/model/wires/TapChanger.d.ts +19 -0
- package/dist/model/wires/TapChanger.js +41 -0
- package/dist/model/wires/TapChanger.js.map +1 -0
- package/dist/model/wires/TapChangerControl.d.ts +9 -0
- package/dist/model/wires/TapChangerControl.js +28 -0
- package/dist/model/wires/TapChangerControl.js.map +1 -0
- package/dist/model/wires/TapChangerTablePoint.d.ts +12 -0
- package/dist/model/wires/TapChangerTablePoint.js +34 -0
- package/dist/model/wires/TapChangerTablePoint.js.map +1 -0
- package/dist/model/wires/TransformerControlMode.d.ts +4 -0
- package/dist/model/wires/TransformerControlMode.js +9 -0
- package/dist/model/wires/TransformerControlMode.js.map +1 -0
- package/dist/model/wires/TransformerEnd.d.ts +31 -0
- package/dist/model/wires/TransformerEnd.js +108 -0
- package/dist/model/wires/TransformerEnd.js.map +1 -0
- package/dist/model/wires/WindingConnection.d.ts +9 -0
- package/dist/model/wires/WindingConnection.js +14 -0
- package/dist/model/wires/WindingConnection.js.map +1 -0
- package/dist/package.json +16 -0
- package/dist/util/datatype-converter.d.ts +3 -0
- package/dist/util/datatype-converter.js +49 -0
- package/dist/util/datatype-converter.js.map +1 -0
- package/dist/util/sparql/sparql-building-block.d.ts +15 -0
- package/dist/util/sparql/sparql-building-block.js +31 -0
- package/dist/util/sparql/sparql-building-block.js.map +1 -0
- package/dist/util/sparql/sparql-utils.d.ts +3 -0
- package/dist/util/sparql/sparql-utils.js +28 -0
- package/dist/util/sparql/sparql-utils.js.map +1 -0
- package/dist/util/util-create.d.ts +11 -0
- package/dist/util/util-create.js +113 -0
- package/dist/util/util-create.js.map +1 -0
- package/dist/util/util-search.d.ts +8 -0
- package/dist/util/util-search.js +41 -0
- package/dist/util/util-search.js.map +1 -0
- package/dist/util/util-topology.d.ts +14 -0
- package/dist/util/util-topology.js +144 -0
- package/dist/util/util-topology.js.map +1 -0
- package/dist/util/utils.d.ts +25 -0
- package/dist/util/utils.js +221 -0
- package/dist/util/utils.js.map +1 -0
- package/dist/util/xml/utils.parser.d.ts +3 -0
- package/dist/util/xml/utils.parser.js +32 -0
- package/dist/util/xml/utils.parser.js.map +1 -0
- package/dist/util/xml/xml.parser.d.ts +16 -0
- package/dist/util/xml/xml.parser.js +98 -0
- package/dist/util/xml/xml.parser.js.map +1 -0
- package/dist/util/xml/xml.serializer.d.ts +12 -0
- package/dist/util/xml/xml.serializer.js +135 -0
- package/dist/util/xml/xml.serializer.js.map +1 -0
- package/jasmine/jasmine_all.json +13 -0
- package/jasmine/jasmine_fuseki_interface.json +13 -0
- package/jasmine/jasmine_fuseki_psdm.json +13 -0
- package/jasmine/jasmine_integral_7.json +13 -0
- package/jasmine/jasmine_psdm.json +13 -0
- package/package.json +73 -0
- package/src/config/lew-sincal/lew-sincal-load.config.ts +58 -0
- package/src/config/power-system-datamodel/psdm-load.config.ts +57 -0
- package/src/config/westnetz-integral7/integral7-load.config.ts +53 -0
- package/src/config/westnetz-neplan/callbacks/cb-connectivitynode.ts +159 -0
- package/src/config/westnetz-neplan/callbacks/cb-psr.ts +30 -0
- package/src/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.ts +70 -0
- package/src/config/westnetz-neplan/neplan-load.config.ts +130 -0
- package/src/config/westnetz-neplan/property-handler-westenergy.config.ts +52 -0
- package/src/constants/cim-class-definition.ts +149 -0
- package/src/constants/cim-class-names.ts +108 -0
- package/src/constants/cim-constants.ts +5 -0
- package/src/constants/init-data/ASSET_HEALTH_EVENTS.ts +45 -0
- package/src/constants/init-data/ASSSET_OWNER.ts +11 -0
- package/src/constants/init-data/JENA_SPARQL.ts +328 -0
- package/src/constants/init-data/PSR_TYPES.ts +75 -0
- package/src/constants/init-data/xml/AssetHealtEvent.xml +45 -0
- package/src/constants/init-data/xml/AssetOwner.xml +11 -0
- package/src/constants/init-data/xml/PsrType.xml +80 -0
- package/src/constants/rdf-xml.ts +52 -0
- package/src/converter/PSDM/ConverterPowerSystemDataModel.ts +546 -0
- package/src/converter/PSDM/model/FixedFeedIn.ts +28 -0
- package/src/converter/PSDM/model/Line.ts +39 -0
- package/src/converter/PSDM/model/LineType.ts +29 -0
- package/src/converter/PSDM/model/Load.ts +38 -0
- package/src/converter/PSDM/model/Node.ts +16 -0
- package/src/converter/PSDM/model/TimeSeriesMapping.ts +13 -0
- package/src/converter/PSDM/model/Transformer.ts +34 -0
- package/src/converter/PSDM/model/TransformerType.ts +49 -0
- package/src/converter/PSDM/model/geo/Crs.ts +4 -0
- package/src/converter/PSDM/model/geo/GeoPosition.ts +7 -0
- package/src/converter/integral7/ConverterIntegral7.ts +3508 -0
- package/src/converter/integral7/config/db-config.ts +12 -0
- package/src/converter/integral7/config/generation-unit-fuel-types.ts +51 -0
- package/src/converter/integral7/config/integral-prefix.ts +20 -0
- package/src/converter/integral7/model/integral/BaseClass.ts +28 -0
- package/src/converter/integral7/model/integral/BaseClassNsg.ts +21 -0
- package/src/converter/integral7/model/integral/KnotenSo.ts +41 -0
- package/src/converter/integral7/model/integral/KnotenSoNsg.ts +24 -0
- package/src/converter/integral7/model/integral/Leitung.ts +73 -0
- package/src/converter/integral7/model/integral/LeitungNsg.ts +46 -0
- package/src/converter/integral7/model/integral/Point.ts +14 -0
- package/src/converter/integral7/model/integral/Schaltanlage.ts +151 -0
- package/src/converter/integral7/model/integral/SchaltanlageNSG.ts +30 -0
- package/src/converter/integral7/model/integral/Schaltanlagenabschnitt.ts +44 -0
- package/src/converter/integral7/model/integral/SchaltanlagenabschnittNsg.ts +27 -0
- package/src/converter/integral7/model/integral/Schaltfeld.ts +116 -0
- package/src/converter/integral7/model/integral/SchaltfeldNsg.ts +35 -0
- package/src/converter/integral7/model/integral/Standort.ts +53 -0
- package/src/converter/integral7/model/integral/StandortNsg.ts +24 -0
- package/src/converter/integral7/model/integral/Trafo2w.ts +22 -0
- package/src/converter/integral7/model/integral/Trafo2wNsg.ts +13 -0
- package/src/converter/integral7/model/interfaces.ts +443 -0
- package/src/converter/integral7/sql/integral.sql.ts +319 -0
- package/src/converter/integral7/utils-schema.ts +50 -0
- package/src/converter/integral7/utils-trafo3w.ts +321 -0
- package/src/converter/integral7/utils.ts +653 -0
- package/src/etl-neplan/etl-neplan-contingency-analysis.ts +170 -0
- package/src/etl-neplan/etl-neplan-feederline.ts +138 -0
- package/src/etl-neplan/etl-neplan.ts +343 -0
- package/src/index.ts +291 -0
- package/src/interfaces/model/assets/IAsset.ts +5 -0
- package/src/interfaces/model/assets/IAssetContainer.ts +5 -0
- package/src/interfaces/model/assets/IFacility.ts +5 -0
- package/src/interfaces/model/common/IDocument.ts +5 -0
- package/src/interfaces/model/core/IACDCTerminal.ts +8 -0
- package/src/interfaces/model/core/IBaseVoltage.ts +7 -0
- package/src/interfaces/model/core/IConductingEquipment.ts +16 -0
- package/src/interfaces/model/core/IConnectivityNode.ts +27 -0
- package/src/interfaces/model/core/IConnectivityNodeContainer.ts +11 -0
- package/src/interfaces/model/core/IEquipment.ts +11 -0
- package/src/interfaces/model/core/IEquipmentContainer.ts +12 -0
- package/src/interfaces/model/core/IFeeder.ts +21 -0
- package/src/interfaces/model/core/IIdentifiedObject.ts +108 -0
- package/src/interfaces/model/core/IPowerSystemResource.ts +3 -0
- package/src/interfaces/model/core/ISubstation.ts +8 -0
- package/src/interfaces/model/core/ITerminal.ts +57 -0
- package/src/interfaces/model/core/IVoltageLevel.ts +14 -0
- package/src/interfaces/model/diagram/IDiagram.ts +21 -0
- package/src/interfaces/model/diagram/IDiagramObject.ts +21 -0
- package/src/interfaces/model/diagram/IDiagramObjectPoint.ts +16 -0
- package/src/interfaces/model/domain/IActivePower.ts +3 -0
- package/src/interfaces/model/domain/IAngleDegrees.ts +3 -0
- package/src/interfaces/model/domain/IApparentPower.ts +3 -0
- package/src/interfaces/model/domain/ICurrentFlow.ts +3 -0
- package/src/interfaces/model/domain/IDataType.ts +9 -0
- package/src/interfaces/model/domain/IReactivePower.ts +3 -0
- package/src/interfaces/model/domain/IVoltage.ts +3 -0
- package/src/interfaces/model/domain/UnitMultiplier.ts +13 -0
- package/src/interfaces/model/domain/UnitSymbol.ts +30 -0
- package/src/interfaces/model/enums/EnumShapeInfo.ts +5 -0
- package/src/interfaces/model/faults/IFault.ts +11 -0
- package/src/interfaces/model/model/IModel.ts +91 -0
- package/src/interfaces/model/operations/IOutage.ts +23 -0
- package/src/interfaces/model/operations/ISwitchingAction.ts +9 -0
- package/src/interfaces/model/operations/ISwitchingPlan.ts +26 -0
- package/src/interfaces/model/statevariables/ISvPowerFlow.ts +20 -0
- package/src/interfaces/model/statevariables/ISvVoltage.ts +16 -0
- package/src/interfaces/model/topology/ITopologicalIsland.ts +11 -0
- package/src/interfaces/model/topology/ITopologicalNode.ts +24 -0
- package/src/interfaces/model/wires/IACLineSegment.ts +4 -0
- package/src/interfaces/model/wires/IBusbarSection.ts +4 -0
- package/src/interfaces/model/wires/ICompositeSwitch.ts +6 -0
- package/src/interfaces/model/wires/IConductor.ts +6 -0
- package/src/interfaces/model/wires/IConnector.ts +5 -0
- package/src/interfaces/model/wires/IDisconnector.ts +4 -0
- package/src/interfaces/model/wires/IEnergyConsumer.ts +7 -0
- package/src/interfaces/model/wires/IEnergySource.ts +20 -0
- package/src/interfaces/model/wires/IExternalNetworkInjection.ts +34 -0
- package/src/interfaces/model/wires/ILoadBreakSwitch.ts +4 -0
- package/src/interfaces/model/wires/IPowerTransformer.ts +7 -0
- package/src/interfaces/model/wires/IPowerTransformerEnd.ts +10 -0
- package/src/interfaces/model/wires/IProtectedSwitch.ts +4 -0
- package/src/interfaces/model/wires/IRegulatingCondEq.ts +4 -0
- package/src/interfaces/model/wires/ISwitch.ts +11 -0
- package/src/interfaces/model/wires/ITransformerEnd.ts +14 -0
- package/src/interfaces/observable/IObservable.ts +6 -0
- package/src/interfaces/observable/IObserver.ts +3 -0
- package/src/interfaces/persistence-interfaces.ts +12 -0
- package/src/interfaces/schema-settings/ShapeInfos.ts +28 -0
- package/src/model/assetinfo/AssetInfo.ts +13 -0
- package/src/model/assetinfo/CableInfo.ts +8 -0
- package/src/model/assetinfo/OverheadWireInfo.ts +8 -0
- package/src/model/assetinfo/PowerTransformer2WInfo.ts +13 -0
- package/src/model/assetinfo/PowerTransformer3WInfo.ts +18 -0
- package/src/model/assetinfo/PowerTransformerInfo.ts +14 -0
- package/src/model/assetinfo/TapChangerInfo.ts +60 -0
- package/src/model/assetinfo/TransformerEndInfo.ts +38 -0
- package/src/model/assetinfo/WireInfo.ts +22 -0
- package/src/model/assets/AggregateScore.ts +9 -0
- package/src/model/assets/AnalyticScore.ts +41 -0
- package/src/model/assets/Asset.ts +164 -0
- package/src/model/assets/AssetContainer.ts +11 -0
- package/src/model/assets/AssetDeployment.ts +122 -0
- package/src/model/assets/AssetHealthEvent.ts +73 -0
- package/src/model/assets/AssetOrganisationRole.ts +51 -0
- package/src/model/assets/AssetOwner.ts +54 -0
- package/src/model/assets/DeploymentDate.ts +20 -0
- package/src/model/assets/DeploymentStateKind.ts +7 -0
- package/src/model/assets/Facility.ts +107 -0
- package/src/model/assets/FacilityKind.ts +9 -0
- package/src/model/assets/HealthScore.ts +59 -0
- package/src/model/assets/LifecycleDate.ts +17 -0
- package/src/model/assets/RiskScore.ts +7 -0
- package/src/model/assets/TransformerApplicationKind.ts +6 -0
- package/src/model/common/ActivityRecord.ts +93 -0
- package/src/model/common/CoordinateSystem.ts +81 -0
- package/src/model/common/Document.ts +9 -0
- package/src/model/common/Location.ts +237 -0
- package/src/model/common/OrganisationRole.ts +7 -0
- package/src/model/common/PositionPoint.ts +121 -0
- package/src/model/common/Status.ts +11 -0
- package/src/model/core/ACDCTerminal.ts +63 -0
- package/src/model/core/BaseVoltage.ts +129 -0
- package/src/model/core/Bay.ts +178 -0
- package/src/model/core/ConductingEquipment.ts +182 -0
- package/src/model/core/ConnectivityNode.ts +417 -0
- package/src/model/core/ConnectivityNodeContainer.ts +26 -0
- package/src/model/core/Curve.ts +55 -0
- package/src/model/core/CurveData.ts +74 -0
- package/src/model/core/CurveStyle.ts +4 -0
- package/src/model/core/Equipment.ts +184 -0
- package/src/model/core/EquipmentContainer.ts +40 -0
- package/src/model/core/Feeder.ts +186 -0
- package/src/model/core/GeographicalRegion.ts +34 -0
- package/src/model/core/IdentifiedObject.ts +393 -0
- package/src/model/core/PSRType.ts +167 -0
- package/src/model/core/PhaseCode.ts +23 -0
- package/src/model/core/PowerSystemResource.ts +113 -0
- package/src/model/core/SubGeographicalRegion.ts +58 -0
- package/src/model/core/Substation.ts +284 -0
- package/src/model/core/Terminal.ts +413 -0
- package/src/model/core/VoltageLevel.ts +193 -0
- package/src/model/diagram/Diagram.ts +136 -0
- package/src/model/diagram/DiagramObject.ts +338 -0
- package/src/model/diagram/DiagramObjectPoint.ts +196 -0
- package/src/model/diagram/DiagramStyle.ts +32 -0
- package/src/model/diagram/OrientationKind.ts +4 -0
- package/src/model/domain/ActivePower.ts +14 -0
- package/src/model/domain/AngleDegrees.ts +14 -0
- package/src/model/domain/ApparentPower.ts +14 -0
- package/src/model/domain/Capacitance.ts +15 -0
- package/src/model/domain/CapacitancePerLength.ts +15 -0
- package/src/model/domain/ConductancePerLength.ts +14 -0
- package/src/model/domain/CurrentFlow.ts +14 -0
- package/src/model/domain/Reactance.ts +15 -0
- package/src/model/domain/ReactancePerLength.ts +14 -0
- package/src/model/domain/ReactivePower.ts +14 -0
- package/src/model/domain/Resistance.ts +14 -0
- package/src/model/domain/ResistancePerLength.ts +14 -0
- package/src/model/domain/UnitMultiplier.ts +13 -0
- package/src/model/domain/UnitSymbol.ts +30 -0
- package/src/model/domain/Voltage.ts +14 -0
- package/src/model/equivalents/EquivalentBranch.ts +203 -0
- package/src/model/equivalents/EquivalentEquipment.ts +8 -0
- package/src/model/extensions/amprion/core/AMPRIONBay.ts +106 -0
- package/src/model/extensions/amprion/core/AMPRIONConnectivityNode.ts +51 -0
- package/src/model/extensions/enervance/assets/EVImportanceScore.ts +58 -0
- package/src/model/extensions/enervance/core/EVTerminal.ts +63 -0
- package/src/model/extensions/enervance/operations/EVTerminalAction.ts +148 -0
- package/src/model/extensions/neplan-westnetz/assets/WNFacility.ts +122 -0
- package/src/model/extensions/neplan-westnetz/core/WNConnectivityNode.ts +344 -0
- package/src/model/extensions/neplan-westnetz/core/WNFeeder.ts +115 -0
- package/src/model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode.ts +113 -0
- package/src/model/extensions/neplan-westnetz/operations/WNOutage.ts +111 -0
- package/src/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.ts +451 -0
- package/src/model/faults/EquipmentFault.ts +9 -0
- package/src/model/faults/Fault.ts +41 -0
- package/src/model/faults/LineFault.ts +10 -0
- package/src/model/generation/FossilFuel.ts +53 -0
- package/src/model/generation/FuelType.ts +8 -0
- package/src/model/generation/GeneratingUnit.ts +157 -0
- package/src/model/generation/GeneratorControlSource.ts +6 -0
- package/src/model/generation/HydroEnergyConversionKind.ts +4 -0
- package/src/model/generation/HydroGeneratingUnit.ts +14 -0
- package/src/model/generation/HydroPlantStorageKind.ts +5 -0
- package/src/model/generation/HydroPowerPlant.ts +13 -0
- package/src/model/generation/HydroPump.ts +13 -0
- package/src/model/generation/NuclearGeneratingUnit.ts +8 -0
- package/src/model/generation/SolarGeneratingUnit.ts +8 -0
- package/src/model/generation/ThermalGeneratingUnit.ts +42 -0
- package/src/model/generation/WindGenUnitKind.ts +4 -0
- package/src/model/generation/WindGeneratingUnit.ts +11 -0
- package/src/model/loadmodel/ConformLoad.ts +34 -0
- package/src/model/model/Model.ts +1129 -0
- package/src/model/operationallimits/CurrentLimit.ts +92 -0
- package/src/model/operationallimits/ENTSOEOperationalLimitType.ts +5 -0
- package/src/model/operationallimits/LimitTypeKind.ts +9 -0
- package/src/model/operationallimits/OperationalLimit.ts +68 -0
- package/src/model/operationallimits/OperationalLimitDirectionKind.ts +5 -0
- package/src/model/operationallimits/OperationalLimitSet.ts +124 -0
- package/src/model/operationallimits/OperationalLimitType.ts +94 -0
- package/src/model/operations/Outage.ts +68 -0
- package/src/model/operations/SwitchAction.ts +12 -0
- package/src/model/operations/SwitchActionKind.ts +6 -0
- package/src/model/operations/SwitchingAction.ts +43 -0
- package/src/model/operations/SwitchingPlan.ts +141 -0
- package/src/model/operations/UnplannedOutage.ts +9 -0
- package/src/model/statevariables/StateVariable.ts +28 -0
- package/src/model/statevariables/SvPowerFlow.ts +75 -0
- package/src/model/statevariables/SvStatus.ts +51 -0
- package/src/model/statevariables/SvTapStep.ts +54 -0
- package/src/model/statevariables/SvVoltage.ts +74 -0
- package/src/model/topology/TopologicalIsland.ts +57 -0
- package/src/model/topology/TopologicalNode.ts +203 -0
- package/src/model/wires/ACLineSegment.ts +293 -0
- package/src/model/wires/AsynchronousMachine.ts +56 -0
- package/src/model/wires/AsynchronousMachineKind.ts +5 -0
- package/src/model/wires/Breaker.ts +82 -0
- package/src/model/wires/BusbarSection.ts +70 -0
- package/src/model/wires/Clamp.ts +33 -0
- package/src/model/wires/CompositeSwitch.ts +13 -0
- package/src/model/wires/Conductor.ts +55 -0
- package/src/model/wires/Connector.ts +16 -0
- package/src/model/wires/Cut.ts +7 -0
- package/src/model/wires/Disconnector.ts +120 -0
- package/src/model/wires/EarthFaultCompensator.ts +20 -0
- package/src/model/wires/EnergyConsumer.ts +255 -0
- package/src/model/wires/EnergySource.ts +303 -0
- package/src/model/wires/ExternalNetworkInjection.ts +276 -0
- package/src/model/wires/Ground.ts +40 -0
- package/src/model/wires/GroundDisconnector.ts +39 -0
- package/src/model/wires/Jumper.ts +8 -0
- package/src/model/wires/Junction.ts +57 -0
- package/src/model/wires/Line.ts +117 -0
- package/src/model/wires/LoadBreakSwitch.ts +107 -0
- package/src/model/wires/PetersenCoil.ts +90 -0
- package/src/model/wires/PetersenCoilModeKind.ts +5 -0
- package/src/model/wires/Plant.ts +12 -0
- package/src/model/wires/PowerTransformer.ts +231 -0
- package/src/model/wires/PowerTransformerEnd.ts +168 -0
- package/src/model/wires/ProtectedSwitch.ts +9 -0
- package/src/model/wires/RatioTapChanger.ts +96 -0
- package/src/model/wires/RatioTapChangerTable.ts +35 -0
- package/src/model/wires/RatioTapChangerTablePoint.ts +45 -0
- package/src/model/wires/ReactiveCapabilityCurve.ts +35 -0
- package/src/model/wires/Recloser.ts +32 -0
- package/src/model/wires/RegulatingCondEq.ts +67 -0
- package/src/model/wires/RegulatingControl.ts +217 -0
- package/src/model/wires/RegulatingControlModeKind.ts +11 -0
- package/src/model/wires/RotatingMachine.ts +172 -0
- package/src/model/wires/SeriesCompensator.ts +40 -0
- package/src/model/wires/ShortCircuitRotorKind.ts +6 -0
- package/src/model/wires/Switch.ts +223 -0
- package/src/model/wires/SynchronousMachine.ts +267 -0
- package/src/model/wires/SynchronousMachineKind.ts +9 -0
- package/src/model/wires/SynchronousMachineOperatingMode.ts +5 -0
- package/src/model/wires/TapChanger.ts +55 -0
- package/src/model/wires/TapChangerControl.ts +32 -0
- package/src/model/wires/TapChangerTablePoint.ts +41 -0
- package/src/model/wires/TransformerControlMode.ts +4 -0
- package/src/model/wires/TransformerEnd.ts +143 -0
- package/src/model/wires/WindingConnection.ts +9 -0
- package/src/package.json +16 -0
- package/src/util/datatype-converter.ts +48 -0
- package/src/util/sparql/sparql-building-block.ts +43 -0
- package/src/util/sparql/sparql-utils.ts +150 -0
- package/src/util/util-create.ts +146 -0
- package/src/util/util-search.ts +40 -0
- package/src/util/util-topology.ts +164 -0
- package/src/util/utils.ts +255 -0
- package/src/util/xml/utils.parser.ts +29 -0
- package/src/util/xml/xml.parser.ts +107 -0
- package/src/util/xml/xml.serializer.ts +245 -0
- package/test/apache-jena-fuseki-interface/apache-jena-fuseki-neplan.tests.spec.ts +864 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/LICENSE +617 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/NOTICE +216 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/README +62 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-delete +725 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-get +725 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-head +725 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-post +725 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-put +725 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-query +725 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-update +725 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/s-update-form +725 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/bin/soh +725 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki +512 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-backup +34 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-server +95 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/fuseki-server.bat +28 -0
- 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 +59 -0
- 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 +30 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/configuration/test.ttl +50 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/shiro.ini +38 -0
- 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 +32 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/system/tdb.lock +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-mem +27 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-service +23 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb +31 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb-dir +30 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb-mem +30 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb2 +31 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb2-dir +30 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/run/templates/config-tdb2-mem +30 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/WEB-INF/web.xml +332 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/admin-logs.html +73 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap-select.min.css +7 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap-theme.css.map +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap-theme.min.css +7 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap.css.map +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/bootstrap.min.css +7 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/codemirror.css +301 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/codemirror.min.css +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/font-awesome.min.css +4 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/fui.css +191 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.dataTables.css +220 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload-noscript.css +22 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload-ui-noscript.css +17 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload-ui.css +57 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/jquery.fileupload.css +36 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/pivot.min.css +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/qonsole.css +172 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/yasqe.min.css +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/css/yasr.min.css +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/dataset.html +247 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/documentation.html +83 -0
- 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 +504 -0
- 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 +229 -0
- 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 +101 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/dataset-controller.js +69 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/index-controller.js +50 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/manage-controller.js +39 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/query-controller.js +72 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/upload-controller.js +42 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/controllers/validation-controller.js +38 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/fui.js +33 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.dataset.js +31 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.index.js +24 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.manage.js +27 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/main.validation.js +24 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/dataset-stats.js +102 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/dataset.js +262 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/fuseki-server.js +180 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/task.js +105 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/models/validation-options.js +85 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/qonsole-config.js +27 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/services/ping-service.js +54 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/services/validation-service.js +98 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-edit.tpl +58 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-info.tpl +40 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-management.tpl +62 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-selection-list.tpl +22 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-selector.tpl +15 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-simple-create.tpl +85 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/dataset-stats.tpl +14 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/file-upload.tpl +46 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/templates/uploadable-file.tpl +23 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/util/page-utils.js +33 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-edit.js +205 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-info.js +76 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-management.js +173 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-selection-list.js +58 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-selector.js +84 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-simple-create.js +102 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/dataset-stats.js +41 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/datasets-dropdown-list.js +43 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/file-upload.js +225 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/tabbed-view-manager.js +63 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/uploadable-file.js +39 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/app/views/validation-options.js +54 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/common-config.js +94 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/brace-fold.js +105 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/comment-fold.js +57 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/foldcode.js +145 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/foldgutter.js +134 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/addon/fold/xml-fold.js +181 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/backbone-min.js +2 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/backbone.js +1581 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/backbone.marionette.js +2385 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/bootstrap-select.min.js +8 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/bootstrap.min.js +6 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/html5shiv.js +8 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery-1.10.2.js +9789 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery-1.10.2.min.js +6 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery-ui.min.js +7 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.dataTables.min.js +157 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.fileupload.js +1426 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.fileupload.local.js +1428 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.form.js +1278 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.iframe-transport.js +214 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.ui.widget.js +530 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/jquery.xdomainrequest.js +90 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/lib/codemirror.js +7638 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/javascript/javascript.js +683 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/sparql/sparql.js +160 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/turtle/turtle.js +160 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/mode/xml/xml.js +384 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/pivot.js +1363 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/pivot.min.js +2 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/pivot.min.js.map +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/plugins/text.js +386 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/qonsole.js +577 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/refresh.sh +21 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/require.js +2076 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/require.min.js +36 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/respond.min.js +6 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/sprintf-0.7-beta1.js +183 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/underscore.js +1276 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasqe.min.js +9 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasqe.min.js.map +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasr.min.js +8 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/js/lib/yasr.min.js.map +1 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/manage.html +110 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/services.html +76 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/test/test-fuseki-config.ttl +27 -0
- package/test/apache-jena-fuseki-interface/data/apache-jena-fuseki-3.12.0/webapp/validate.html +147 -0
- package/test/apache-jena-fuseki-interface/data/json/PersistData.json +111 -0
- package/test/apache-jena-fuseki-interface/data/xml/AssetHealthEvent.xml +45 -0
- package/test/apache-jena-fuseki-interface/data/xml/AssetOwner.xml +11 -0
- package/test/apache-jena-fuseki-interface/data/xml/Outages.xml +69 -0
- package/test/apache-jena-fuseki-interface/data/xml/PsrType.xml +80 -0
- package/test/apache-jena-fuseki-interface/data/xml/neplan-eslohe/Eslohe_Rootnet_Area_1_EQ_V1.xml +15755 -0
- package/test/apache-jena-fuseki-interface/data/xml/neplan-eslohe/Eslohe_Rootnet_Area_1_EQ_V1_feeder_ext.xml +54 -0
- package/test/apache-jena-fuseki-interface/data/xml/neplan-eslohe/Eslohe_Rootnet_Area_1_SSH_V1.xml +2796 -0
- package/test/apache-jena-fuseki-interface/data/xml-rdf-data.xml +84 -0
- package/test/cim-xml-rdf-parser/cim-xml-rdf-parser.tests.spec.ts +23 -0
- package/test/cim-xml-rdf-parser/data/rdfxml_serialisation.xml +192 -0
- package/test/integral7-converter/integral7-converter.tests.spec.ts +185 -0
- package/test/power-system-data-model-converter/data/fixed_feed_in_input.csv +72 -0
- package/test/power-system-data-model-converter/data/line_input.csv +1910 -0
- package/test/power-system-data-model-converter/data/line_type_input.csv +5 -0
- package/test/power-system-data-model-converter/data/load_input.csv +1829 -0
- package/test/power-system-data-model-converter/data/node_input.csv +2835 -0
- package/test/power-system-data-model-converter/data/time_series_mapping.csv +878 -0
- package/test/power-system-data-model-converter/data/transformer_2_w_input.csv +1047 -0
- package/test/power-system-data-model-converter/data/transformer_2_w_type_input.csv +5 -0
- package/test/power-system-data-model-converter/power-system-data-model-converter.tests.spec.ts +310 -0
- package/tsconfig.json +24 -0
- package/webpack.config.js +24 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { RotatingMachine } from './RotatingMachine';
|
|
2
|
+
import {
|
|
3
|
+
RDF_XML,
|
|
4
|
+
ConnectivityNode,
|
|
5
|
+
IdentifiedObject,
|
|
6
|
+
Model,
|
|
7
|
+
ReactiveCapabilityCurve,
|
|
8
|
+
ShortCircuitRotorKind,
|
|
9
|
+
SynchronousMachineKind, IConnectivityNode, RegulatingControlModeKind
|
|
10
|
+
} from '../..';
|
|
11
|
+
import { getValue, writeElement, writeElementAttribute } from "../../util/utils";
|
|
12
|
+
import XMLWriter from 'xml-writer';
|
|
13
|
+
import { TripleData } from '../../interfaces/persistence-interfaces';
|
|
14
|
+
import { SynchronousMachineOperatingMode } from './SynchronousMachineOperatingMode';
|
|
15
|
+
import { toBoolean } from '../../util/datatype-converter';
|
|
16
|
+
|
|
17
|
+
export class SynchronousMachine extends RotatingMachine {
|
|
18
|
+
|
|
19
|
+
type: SynchronousMachineKind;
|
|
20
|
+
referencePriority: number;
|
|
21
|
+
maxQ: number;
|
|
22
|
+
minQ: number;
|
|
23
|
+
maxU: number;
|
|
24
|
+
minU: number;
|
|
25
|
+
qPercent: number;
|
|
26
|
+
|
|
27
|
+
earthing: boolean;
|
|
28
|
+
earthingStarPointR: number;
|
|
29
|
+
earthingStarPointX: number;
|
|
30
|
+
ikk: number;
|
|
31
|
+
mu: number;
|
|
32
|
+
r: number;
|
|
33
|
+
r0: number;
|
|
34
|
+
r2: number;
|
|
35
|
+
satDirectSubtransX: number;
|
|
36
|
+
satDirectSyncX: number;
|
|
37
|
+
satDirectTransX: number;
|
|
38
|
+
shortCircuitRotorType: ShortCircuitRotorKind;
|
|
39
|
+
voltageRegulationRange: number;
|
|
40
|
+
x0: number;
|
|
41
|
+
x2: number;
|
|
42
|
+
|
|
43
|
+
operatingMode: SynchronousMachineOperatingMode;
|
|
44
|
+
|
|
45
|
+
initialReactiveCapabilityCurve: ReactiveCapabilityCurve;
|
|
46
|
+
initialReactiveCapabilityCurveUUID: string;
|
|
47
|
+
|
|
48
|
+
constructor(uuid?: string, name?: string, shortName?: string, description?: string){
|
|
49
|
+
super(uuid, name, shortName, description);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public static sparqlQuery : string = `
|
|
53
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
54
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
55
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
56
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
57
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
58
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
59
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
60
|
+
|
|
61
|
+
SELECT (strafter(strafter(str(?eneUUID), '#'), '_') AS ?uuid)
|
|
62
|
+
(CONCAT(STRBEFORE(str(?eneUUID), '#_'), '#_') AS ?baseIRI)
|
|
63
|
+
?name ?shortName ?description
|
|
64
|
+
?controlEnabled ?ratedS ?p ?q ?maxU ?maxQ ?minU ?minQ
|
|
65
|
+
?earthing ?qPercent ?ratedPowerFactor
|
|
66
|
+
?referencePriority ?r
|
|
67
|
+
?satDirectSubtransX ?satDirectTransX ?voltageRegulationRange
|
|
68
|
+
(strafter(strafter(str(?typeEnum), '#'), '.') AS ?type)
|
|
69
|
+
(strafter(strafter(str(?operatingModeEnum), '#'), '.') AS ?operatingMode)
|
|
70
|
+
(strafter(strafter(str(?guUUID), '#'), '_') AS ?generatingUnitUUID)
|
|
71
|
+
|
|
72
|
+
WHERE {
|
|
73
|
+
GRAPH <http://default/>{
|
|
74
|
+
?eneUUID rdf:type cim:SynchronousMachine .
|
|
75
|
+
OPTIONAL{?eneUUID cim:IdentifiedObject.name ?name .}
|
|
76
|
+
OPTIONAL{?eneUUID entsoe:IdentifiedObject.shortName ?shortName .}
|
|
77
|
+
OPTIONAL{?eneUUID cim:IdentifiedObject.description ?description .}
|
|
78
|
+
OPTIONAL{?eneUUID cim:RegulatingCondEq.controlEnabled ?controlEnabled .}
|
|
79
|
+
|
|
80
|
+
OPTIONAL{?eneUUID cim:RotatingMachine.ratedS ?ratedS .}
|
|
81
|
+
OPTIONAL{?eneUUID cim:RotatingMachine.p ?p .}
|
|
82
|
+
OPTIONAL{?eneUUID cim:RotatingMachine.q ?q .}
|
|
83
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.ratedPowerFactor ?ratedPowerFactor .}
|
|
84
|
+
|
|
85
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.maxU ?maxU .}
|
|
86
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.maxQ ?maxQ .}
|
|
87
|
+
|
|
88
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.minU ?minU .}
|
|
89
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.minQ ?minQ .}
|
|
90
|
+
|
|
91
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.earthing ?earthing .}
|
|
92
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.qPercent ?qPercent .}
|
|
93
|
+
|
|
94
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.earthing ?referencePriority .}
|
|
95
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.qPercent ?r .}
|
|
96
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.satDirectSubtransX ?satDirectSubtransX .}
|
|
97
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.satDirectTransX ?satDirectTransX .}
|
|
98
|
+
|
|
99
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.voltageRegulationRange ?voltageRegulationRange .}
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.type ?typeEnum .}
|
|
103
|
+
OPTIONAL{?eneUUID cim:SynchronousMachine.operatingMode ?operatingModeEnum .}
|
|
104
|
+
OPTIONAL{?eneUUID cim:RotatingMachine.GeneratingUnit ?guUUID .}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
`
|
|
110
|
+
public static getQuerySPARQL(graphURI : string) : string{
|
|
111
|
+
if(graphURI.length > 0){
|
|
112
|
+
return SynchronousMachine.sparqlQuery.replace('<http://default/>', graphURI);
|
|
113
|
+
}
|
|
114
|
+
return SynchronousMachine.sparqlQuery;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
public static resolveClassFusekiJSON(data: any, cimModel: Model){
|
|
118
|
+
data.results.bindings.forEach((value: any) => {
|
|
119
|
+
const newClass = new SynchronousMachine();
|
|
120
|
+
newClass.resolveAttributesFusekiJSON(value);
|
|
121
|
+
cimModel.addSynchronousMachine(newClass);
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
protected resolveAttributesFusekiJSON(value: any){
|
|
126
|
+
super.resolveAttributesFusekiJSON(value);
|
|
127
|
+
|
|
128
|
+
this.minU = +getValue(value, 'minU');
|
|
129
|
+
this.maxU = +getValue(value, 'maxU');
|
|
130
|
+
|
|
131
|
+
this.minQ = +getValue(value, 'minQ');
|
|
132
|
+
this.maxQ = +getValue(value, 'maxQ');
|
|
133
|
+
|
|
134
|
+
this.qPercent = +getValue(value, 'qPercent');
|
|
135
|
+
|
|
136
|
+
this.earthing = toBoolean(getValue(value, 'earthing'));
|
|
137
|
+
|
|
138
|
+
this.referencePriority = +getValue(value, 'referencePriority');
|
|
139
|
+
this.r = +getValue(value, 'r');
|
|
140
|
+
|
|
141
|
+
this.satDirectSubtransX = +getValue(value, 'satDirectSubtransX');
|
|
142
|
+
this.satDirectTransX = +getValue(value, 'satDirectTransX');
|
|
143
|
+
this.voltageRegulationRange = +getValue(value, 'voltageRegulationRange');
|
|
144
|
+
|
|
145
|
+
this.type = SynchronousMachineKind[getValue(value, 'type')];
|
|
146
|
+
this.operatingMode = SynchronousMachineOperatingMode[getValue(value, 'operatingMode')];
|
|
147
|
+
|
|
148
|
+
}
|
|
149
|
+
public resolveParsedAssociations(cimModel: Model){
|
|
150
|
+
super.resolveParsedAssociations(cimModel);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
public toJSON(){
|
|
154
|
+
super.toJSON();
|
|
155
|
+
this.toJSONAttributes();
|
|
156
|
+
this.toJSONAssociations();
|
|
157
|
+
return this.json;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
public toJSONAttributes(){
|
|
162
|
+
super.toJSONAttributes();
|
|
163
|
+
this.json['p'] = this.p;
|
|
164
|
+
this.json['q'] = this.q;
|
|
165
|
+
this.json['referencePriority'] = this.referencePriority;
|
|
166
|
+
this.json['type'] = this.type;
|
|
167
|
+
this.json['operatingMode'] = this.operatingMode;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
public toJSONAssociations(){
|
|
171
|
+
super.toJSONAssociations();
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Graphalgorithmen */
|
|
175
|
+
public determineGridIslands(networkElements: any[]){
|
|
176
|
+
super.determineGridIslands(networkElements);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
public breadthFirstSearch(networkElements: any[]){
|
|
180
|
+
if(!this.visited){
|
|
181
|
+
//console.log(this.constructor.name + ' ' + this.mrid)
|
|
182
|
+
this.addNetworkElement(networkElements);
|
|
183
|
+
super.breadthFirstSearch(networkElements);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
//hier endet der Aufruf
|
|
188
|
+
public determineTopologicalNodes(connNodes: IConnectivityNode[]){
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/* Bestimmt alle zum Slack gehörende Netzelemente (CN, Terminals Sammelschienen, Trafos)*/
|
|
193
|
+
public determineSlackNodes(slackElemenets: IdentifiedObject[]){
|
|
194
|
+
if(!this.visited) {
|
|
195
|
+
this.addNetworkElement(slackElemenets);
|
|
196
|
+
// 0 = key, 1 = value
|
|
197
|
+
for (const entry of this.terminals.entries()){
|
|
198
|
+
const value = entry[1];
|
|
199
|
+
value.determineSlackNodes(slackElemenets);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
public isLoadOrFeed(): boolean{
|
|
205
|
+
return true;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/** die Methode bestimmen den Datentyp, konvertiert und weist den Wert zu */
|
|
209
|
+
/* public setProperty(cimModel: Model, propName: string, propertyValue: any){
|
|
210
|
+
|
|
211
|
+
}*/
|
|
212
|
+
|
|
213
|
+
public setProperty(propName: string, propertyValue: any): TripleData {
|
|
214
|
+
return { oldTriple: '', newTriple: ''};
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
/** CIM RDF/XML Serialisierung */
|
|
219
|
+
public toCIMXML(xmlWriter: XMLWriter, profile: string) {
|
|
220
|
+
if(profile === RDF_XML.PROFILE_EQ) {
|
|
221
|
+
const suffixID = this.getSuffixID(profile);
|
|
222
|
+
const prefixUUID = this.getPrefixUUID(suffixID);
|
|
223
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, this.constructor.name, RDF_XML.CIM_NS_16);
|
|
224
|
+
writeElementAttribute(xmlWriter, suffixID, `${prefixUUID}${this.mrid}`);
|
|
225
|
+
this.toCIMXMLAttributes(xmlWriter, profile);
|
|
226
|
+
this.toCIMXMLAssociations(xmlWriter, profile);
|
|
227
|
+
xmlWriter.endElement();
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
protected toCIMXMLAttributes(xmlWriter: XMLWriter, profile: string) {
|
|
232
|
+
super.toCIMXMLAttributes(xmlWriter, profile);
|
|
233
|
+
/*<cim:SynchronousMachine.type rdf:resource="http://iec.ch/TC57/2013/CIM-schema-cim16#SynchronousMachineKind.generator"/>*/
|
|
234
|
+
if(profile === RDF_XML.PROFILE_EQ) {
|
|
235
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, 'SynchronousMachine.type', RDF_XML.CIM_NS_16);
|
|
236
|
+
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `${RDF_XML.CIM_NS_16}SynchronousMachineKind.${this.type}`);
|
|
237
|
+
xmlWriter.endElement();
|
|
238
|
+
|
|
239
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.maxQ`, this.maxQ);
|
|
240
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.minQ`, this.minQ);
|
|
241
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.qPercent`, this.qPercent);
|
|
242
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.satDirectSubtransX`, this.satDirectSubtransX);
|
|
243
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.earthing`, this.earthing);
|
|
244
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.r`, this.r);
|
|
245
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.r0`, this.r0);
|
|
246
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.r2`, this.r2);
|
|
247
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.x0`, this.x0);
|
|
248
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:SynchronousMachine.x2`, this.x2);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
protected toCIMXMLAssociations(xmlWriter: XMLWriter, profile: string) {
|
|
252
|
+
super.toCIMXMLAssociations(xmlWriter, profile);
|
|
253
|
+
if(profile === RDF_XML.PROFILE_EQ) {
|
|
254
|
+
/*<cim:SynchronousMachine.InitialReactiveCapabilityCurve rdf:resource="#_c27d5861-d731-4a0b-bf9e-c060f714bdd6"/>*/
|
|
255
|
+
if (this.initialReactiveCapabilityCurve) {
|
|
256
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, 'SynchronousMachine.InitialReactiveCapabilityCurve', RDF_XML.CIM_NS_16);
|
|
257
|
+
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `${RDF_XML.HASH_UNDERSCORE}${this.initialReactiveCapabilityCurve.mrid}`);
|
|
258
|
+
xmlWriter.endElement();
|
|
259
|
+
} else if (this.initialReactiveCapabilityCurveUUID) {
|
|
260
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, 'SynchronousMachine.InitialReactiveCapabilityCurve', RDF_XML.CIM_NS_16);
|
|
261
|
+
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `${RDF_XML.HASH_UNDERSCORE}${this.initialReactiveCapabilityCurveUUID}`);
|
|
262
|
+
xmlWriter.endElement();
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export enum SynchronousMachineKind {
|
|
2
|
+
generator = 'generator',
|
|
3
|
+
condenser = 'condenser',
|
|
4
|
+
generatorOrCondenser = 'generatorOrCondenser',
|
|
5
|
+
motor = 'motor',
|
|
6
|
+
generatorOrMotor = 'generatorOrMotor',
|
|
7
|
+
motorOrCondenser = 'motorOrCondenser',
|
|
8
|
+
generatorOrCondenserOrMotor = 'generatorOrCondenserOrMotor',
|
|
9
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { RDF_XML, PowerSystemResource } from '../..';
|
|
2
|
+
import { TapChangerControl } from './TapChangerControl';
|
|
3
|
+
import { SvTapStep } from "../statevariables/SvTapStep";
|
|
4
|
+
import XMLWriter from 'xml-writer';
|
|
5
|
+
import { writeElement, writeElementAttribute } from '../../util/utils';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export class TapChanger extends PowerSystemResource {
|
|
9
|
+
|
|
10
|
+
highStep: number;
|
|
11
|
+
lowStep: number;
|
|
12
|
+
ltcFlag: boolean;
|
|
13
|
+
neutralStep: number;
|
|
14
|
+
neutralU: number;
|
|
15
|
+
normalStep: number;
|
|
16
|
+
|
|
17
|
+
tapChangerControl: TapChangerControl;
|
|
18
|
+
tapChangerControlUUID: string;
|
|
19
|
+
|
|
20
|
+
svTapStep: SvTapStep;
|
|
21
|
+
svTapStepUUID: string;
|
|
22
|
+
constructor(mrid?: string, name?: string, shortName?: string, description?: string) {
|
|
23
|
+
super(mrid, name, shortName, description);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
protected toCIMXMLAttributes(xmlWriter: XMLWriter, profile: string) {
|
|
27
|
+
super.toCIMXMLAttributes(xmlWriter, profile);
|
|
28
|
+
if (profile === RDF_XML.PROFILE_EQ) {
|
|
29
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChanger.highStep`, String(this.highStep));
|
|
30
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChanger.lowStep`, String(this.lowStep));
|
|
31
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChanger.ltcFlag`, String(this.ltcFlag));
|
|
32
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChanger.neutralStep`, String(this.neutralStep));
|
|
33
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChanger.neutralU`, String(this.neutralU));
|
|
34
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChanger.normalStep`, String(this.normalStep));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
protected toCIMXMLAssociations(xmlWriter: XMLWriter, profile: string) {
|
|
39
|
+
super.toCIMXMLAssociations(xmlWriter, profile);
|
|
40
|
+
if (profile === RDF_XML.PROFILE_EQ) {
|
|
41
|
+
if (this.tapChangerControl) {
|
|
42
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, 'TapChanger.TapChangerControl', RDF_XML.CIM_NS_16);
|
|
43
|
+
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `${RDF_XML.HASH_UNDERSCORE}${this.tapChangerControl.mrid}`);
|
|
44
|
+
xmlWriter.endElement();
|
|
45
|
+
} else if (this.tapChangerControlUUID) {
|
|
46
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, 'TapChanger.TapChangerControl', RDF_XML.CIM_NS_16);
|
|
47
|
+
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `${RDF_XML.HASH_UNDERSCORE}${this.tapChangerControlUUID}`);
|
|
48
|
+
xmlWriter.endElement();
|
|
49
|
+
} else {
|
|
50
|
+
xmlWriter.writeComment('ConductingEquipment is not defined');
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RegulatingControl } from './RegulatingControl';
|
|
2
|
+
import { TapChanger } from './TapChanger';
|
|
3
|
+
import { RDF_XML } from '../..';
|
|
4
|
+
import { writeElementAttribute } from '../../util/utils';
|
|
5
|
+
import XMLWriter from 'xml-writer';
|
|
6
|
+
|
|
7
|
+
export class TapChangerControl extends RegulatingControl{
|
|
8
|
+
|
|
9
|
+
tapChanger: TapChanger[] = [];
|
|
10
|
+
|
|
11
|
+
constructor(mrid?: string, name?: string, shortName?: string, description?: string){
|
|
12
|
+
super(mrid, name, shortName, description);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
public addTapChanger(tapChanger: TapChanger){
|
|
16
|
+
this.tapChanger.push(tapChanger);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
public toCIMXML(xmlWriter: XMLWriter, profile: string) {
|
|
21
|
+
if(profile === RDF_XML.PROFILE_EQ) {
|
|
22
|
+
const suffixID = this.getSuffixID(profile);
|
|
23
|
+
const prefixUUID = this.getPrefixUUID(suffixID);
|
|
24
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, this.constructor.name, RDF_XML.CIM_NS_16);
|
|
25
|
+
writeElementAttribute(xmlWriter, suffixID, `${prefixUUID}${this.mrid}`);
|
|
26
|
+
this.toCIMXMLAttributes(xmlWriter, profile);
|
|
27
|
+
this.toCIMXMLAssociations(xmlWriter, profile);
|
|
28
|
+
xmlWriter.endElement();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { RDF_XML } from '../..';
|
|
2
|
+
import { writeElement } from '../../util/utils';
|
|
3
|
+
import XMLWriter from 'xml-writer';
|
|
4
|
+
|
|
5
|
+
export class TapChangerTablePoint {
|
|
6
|
+
mrid: string;
|
|
7
|
+
|
|
8
|
+
b: number; // %
|
|
9
|
+
g: number; // %
|
|
10
|
+
r: number; // %
|
|
11
|
+
x: number; // %
|
|
12
|
+
ratio: number;
|
|
13
|
+
step: number;
|
|
14
|
+
|
|
15
|
+
constructor(mrid?: string){
|
|
16
|
+
this.mrid = mrid;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
protected toCIMXMLAttributes(xmlWriter: XMLWriter, profile: string) {
|
|
20
|
+
if(profile === RDF_XML.PROFILE_EQ) {
|
|
21
|
+
if(this.b) {
|
|
22
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChangerTablePoint.b`, this.b);
|
|
23
|
+
}
|
|
24
|
+
if(this.g) {
|
|
25
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChangerTablePoint.g`, this.g);
|
|
26
|
+
}
|
|
27
|
+
if(this.r) {
|
|
28
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChangerTablePoint.r`, this.r);
|
|
29
|
+
}
|
|
30
|
+
if(this.x) {
|
|
31
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChangerTablePoint.x`, this.x);
|
|
32
|
+
}
|
|
33
|
+
if(this.ratio) {
|
|
34
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChangerTablePoint.ratio`, this.ratio);
|
|
35
|
+
}
|
|
36
|
+
if(this.step) {
|
|
37
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TapChangerTablePoint.step`, this.step);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { IdentifiedObject } from '../core/IdentifiedObject';
|
|
2
|
+
import { BaseVoltage } from '../core/BaseVoltage';
|
|
3
|
+
import { Terminal } from '../core/Terminal';
|
|
4
|
+
import { Model } from '../model/Model';
|
|
5
|
+
import { getValue, writeElement, writeElementAttribute } from '../../util/utils';
|
|
6
|
+
import XMLWriter from 'xml-writer';
|
|
7
|
+
import { RDF_XML } from '../../constants/rdf-xml';
|
|
8
|
+
import { RatioTapChanger } from './RatioTapChanger';
|
|
9
|
+
import { ITerminal } from '../../interfaces/model/core/ITerminal';
|
|
10
|
+
|
|
11
|
+
export class TransformerEnd extends IdentifiedObject {
|
|
12
|
+
|
|
13
|
+
endNumber: number;
|
|
14
|
+
|
|
15
|
+
baseVoltage: BaseVoltage;
|
|
16
|
+
baseVoltageUUID: string;
|
|
17
|
+
|
|
18
|
+
terminal: ITerminal;
|
|
19
|
+
terminalUUID: string;
|
|
20
|
+
|
|
21
|
+
ratioTapChanger: RatioTapChanger;
|
|
22
|
+
ratioTapChangerUUID: string;
|
|
23
|
+
|
|
24
|
+
constructor(uuid: string, name: string, shortName: string, description: string, endNumber: number) {
|
|
25
|
+
super(uuid, name, shortName, description);
|
|
26
|
+
this.endNumber = endNumber;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public getTerminal(): ITerminal {
|
|
30
|
+
return this.terminal;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public setTerminal(value: Terminal) {
|
|
34
|
+
this.terminal = value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public getEndNumber(): number {
|
|
38
|
+
return this.endNumber;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public setEndNumber(value: number) {
|
|
42
|
+
this.endNumber = value;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
public getBaseVoltage(): BaseVoltage {
|
|
47
|
+
return this.baseVoltage;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setBaseVoltage(baseVoltage: BaseVoltage) {
|
|
51
|
+
this.baseVoltage = baseVoltage;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public getTerminalUUID(): string {
|
|
55
|
+
return this.terminalUUID;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public setTerminalUUID(terminalUUID: string) {
|
|
59
|
+
this.terminalUUID = terminalUUID;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
protected resolveAttributesFusekiJSON(value: any) {
|
|
63
|
+
super.resolveAttributesFusekiJSON(value);
|
|
64
|
+
this.endNumber = +getValue(value, 'endNumber');
|
|
65
|
+
this.baseVoltageUUID = getValue(value, 'baseVoltageUUID');
|
|
66
|
+
this.terminalUUID = getValue(value, 'terminalUUID');
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public resolveParsedAssociations(cimModel: Model) {
|
|
71
|
+
super.resolveParsedAssociations(cimModel);
|
|
72
|
+
|
|
73
|
+
this.baseVoltage = cimModel.getBaseVoltageByUUID(this.baseVoltageUUID);
|
|
74
|
+
if (!this.baseVoltage) console.log(this.constructor.name + ' ' + this.mrid + ' hat keine BaseVoltageInstanz ' + this.baseVoltageUUID);
|
|
75
|
+
|
|
76
|
+
//Terminal
|
|
77
|
+
this.terminal = cimModel.getTerminal(this.terminalUUID);
|
|
78
|
+
if (this.terminal) this.terminal.addTransformerEnd(this);
|
|
79
|
+
else console.log(this.constructor.name + ' ' + this.mrid + ' hat keine TerminalInstanz ' + this.terminalUUID);
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// public toJSON(){
|
|
84
|
+
// super.toJSON();
|
|
85
|
+
// this.toJSONAttributes();
|
|
86
|
+
// this.toJSONAssociations();
|
|
87
|
+
// return this.json;
|
|
88
|
+
// }
|
|
89
|
+
|
|
90
|
+
public toJSONAttributes() {
|
|
91
|
+
super.toJSONAttributes();
|
|
92
|
+
this.json['endNumber'] = +this.endNumber;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public toJSONAssociations() {
|
|
96
|
+
super.toJSONAssociations();
|
|
97
|
+
if (this.baseVoltage) {
|
|
98
|
+
this.json['baseVoltageUUID'] = this.baseVoltage.mrid;
|
|
99
|
+
}
|
|
100
|
+
if (this.terminal) {
|
|
101
|
+
this.json['terminalUUID'] = this.terminal.mrid;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
protected toCIMXMLAttributes(xmlWriter: XMLWriter, profile: string) {
|
|
106
|
+
super.toCIMXMLAttributes(xmlWriter, profile);
|
|
107
|
+
if (profile === RDF_XML.PROFILE_EQ) {
|
|
108
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TransformerEnd.endNumber`, this.endNumber);
|
|
109
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TransformerEnd.rground`, 0);
|
|
110
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TransformerEnd.xground`, 0);
|
|
111
|
+
writeElement(xmlWriter, `${RDF_XML.CIM_NS_PREFIX}:TransformerEnd.grounded`, false);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
protected toCIMXMLAssociations(xmlWriter: XMLWriter, profile: string) {
|
|
116
|
+
super.toCIMXMLAssociations(xmlWriter, profile);
|
|
117
|
+
if (profile === RDF_XML.PROFILE_EQ) {
|
|
118
|
+
if (this.baseVoltage) {
|
|
119
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, `TransformerEnd.BaseVoltage`, RDF_XML.CIM_NS_16);
|
|
120
|
+
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `${RDF_XML.HASH_UNDERSCORE}${this.baseVoltage.mrid}`);
|
|
121
|
+
xmlWriter.endElement();
|
|
122
|
+
} else if (this.baseVoltageUUID) {
|
|
123
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, `TransformerEnd.BaseVoltage`, RDF_XML.CIM_NS_16);
|
|
124
|
+
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `${RDF_XML.HASH_UNDERSCORE}${this.baseVoltageUUID}`);
|
|
125
|
+
xmlWriter.endElement();
|
|
126
|
+
} else {
|
|
127
|
+
xmlWriter.writeComment('BaseVoltage is not defined');
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (this.terminal) {
|
|
131
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, `TransformerEnd.Terminal`, RDF_XML.CIM_NS_16);
|
|
132
|
+
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `${RDF_XML.HASH_UNDERSCORE}${this.terminal.mrid}`);
|
|
133
|
+
xmlWriter.endElement();
|
|
134
|
+
} else if (this.terminalUUID) {
|
|
135
|
+
xmlWriter.startElementNS(RDF_XML.CIM_NS_PREFIX, `TransformerEnd.Terminal`, RDF_XML.CIM_NS_16);
|
|
136
|
+
writeElementAttribute(xmlWriter, RDF_XML.RDF_RESRC, `${RDF_XML.HASH_UNDERSCORE}${this.terminalUUID}`);
|
|
137
|
+
xmlWriter.endElement();
|
|
138
|
+
} else {
|
|
139
|
+
xmlWriter.writeComment('Terminal is not defined');
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
package/src/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "insight-cim-model",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "cim data model",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "rimraf dist && tsc && copyfiles -f src/package.json dist",
|
|
9
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [],
|
|
12
|
+
"author": "",
|
|
13
|
+
"license": "ISC",
|
|
14
|
+
"dependencies": {},
|
|
15
|
+
"devDependencies": {}
|
|
16
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
export function convertValue(toDataType, propertyValue) {
|
|
3
|
+
switch(toDataType){
|
|
4
|
+
case 'boolean':
|
|
5
|
+
return toBoolean(propertyValue);
|
|
6
|
+
case 'number':
|
|
7
|
+
return +propertyValue;
|
|
8
|
+
default:
|
|
9
|
+
return String(propertyValue);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function toBoolean(value){
|
|
14
|
+
switch(value){
|
|
15
|
+
case true:
|
|
16
|
+
return true;
|
|
17
|
+
case "true":
|
|
18
|
+
return true;
|
|
19
|
+
case "on":
|
|
20
|
+
return true;
|
|
21
|
+
case "ja":
|
|
22
|
+
return true;
|
|
23
|
+
case "yes":
|
|
24
|
+
return true;
|
|
25
|
+
|
|
26
|
+
case false:
|
|
27
|
+
return false;
|
|
28
|
+
case "false":
|
|
29
|
+
return false;
|
|
30
|
+
case "off":
|
|
31
|
+
return false;
|
|
32
|
+
case "nein":
|
|
33
|
+
return false;
|
|
34
|
+
case "no":
|
|
35
|
+
return false;
|
|
36
|
+
|
|
37
|
+
default:
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function getFormattedNumber(value) {
|
|
43
|
+
if(!isNaN(value)) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
export const NS_PREFIX_CIM = 'PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#> ';
|
|
3
|
+
export const NS_PREFIX_WN = 'PREFIX westnetzneplan: <http://westnetzneplan.de/CIM/Extensions#> ';
|
|
4
|
+
export const NS_PREFIX_ENERVANCE = 'PREFIX enervance: <http://enervance.com/CIM/Extensions#> ';
|
|
5
|
+
export const NS_PREFIX_AMPRION = 'PREFIX amp: <http://amprion.net/CIM/2018/Extensions#> ';
|
|
6
|
+
export const NS_PREFIX_ENTSOE = 'PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#> ';
|
|
7
|
+
export const NS_PREFIX_RDF = 'PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ';
|
|
8
|
+
export const NS_PREFIX_APF = 'PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#> ';
|
|
9
|
+
export const NS_PREFIX_AFN = 'PREFIX afn: <http://jena.apache.org/ARQ/function#> ';
|
|
10
|
+
|
|
11
|
+
export const PROP_MRID = '?MRID';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export const PROP_CONNECTIVITY_NODE_CONTAINER_UUID = '?cncUUID ';
|
|
15
|
+
export const PROP_CONNECTIVITY_NODE_SWITCHABLE = '?switchable ';
|
|
16
|
+
export const IDENTIFIED_OBJECT_PROP_SELECT =
|
|
17
|
+
`(STRAFTER(STR(${PROP_MRID}), \'#_\') AS ?uuid)
|
|
18
|
+
(CONCAT(STRBEFORE(STR(${PROP_MRID}), \'#_\'), \'#_\') AS ?baseIRI)
|
|
19
|
+
?name
|
|
20
|
+
?shortName
|
|
21
|
+
?description
|
|
22
|
+
?installation `;
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
export const CONNECTIVITY_NODE_SELECT =
|
|
26
|
+
` ${PROP_CONNECTIVITY_NODE_SWITCHABLE}
|
|
27
|
+
(STRAFTER(STR(${PROP_CONNECTIVITY_NODE_CONTAINER_UUID}), \'#_\') AS ?connectivityNodeContainerUUID) `;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export const CONNECTIVITY_NODE_WHERE = `
|
|
31
|
+
OPTIONAL {${PROP_MRID} enervance:ConnectivityNode.switchable ${PROP_CONNECTIVITY_NODE_SWITCHABLE} .}
|
|
32
|
+
OPTIONAL {${PROP_MRID} cim:ConnectivityNode.ConnectivityNodeContainer ${PROP_CONNECTIVITY_NODE_CONTAINER_UUID} .} `;
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
export const IDENTIFIED_OBJECT_PROP_WHERE = `
|
|
38
|
+
OPTIONAL {${PROP_MRID} cim:IdentifiedObject.name ?name .}
|
|
39
|
+
OPTIONAL {${PROP_MRID} entsoe:IdentifiedObject.shortName ?shortName .}
|
|
40
|
+
OPTIONAL {${PROP_MRID} cim:IdentifiedObject.description ?description .}
|
|
41
|
+
OPTIONAL {${PROP_MRID} enervance:IdentifiedObject.installation ?installation .} `;
|
|
42
|
+
|
|
43
|
+
|