@enervance/insight-cim-model 0.0.62 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analysis/analysis-neplan/digi-ons.d.ts +55 -3
- package/dist/analysis/analysis-neplan/digi-ons.js +101 -22
- package/dist/analysis/analysis-neplan/digi-ons.js.map +1 -1
- package/dist/config/load.confings.d.ts +11 -0
- package/dist/config/load.confings.js +362 -0
- package/dist/config/load.confings.js.map +1 -0
- package/dist/config/westnetz-neplan/callbacks/cb-connectivitynode.d.ts +9 -9
- package/dist/config/westnetz-neplan/callbacks/cb-connectivitynode.js +3 -36
- package/dist/config/westnetz-neplan/callbacks/cb-connectivitynode.js.map +1 -1
- package/dist/config/westnetz-neplan/callbacks/cb-psr.d.ts +3 -3
- package/dist/config/westnetz-neplan/callbacks/cb-psr.js +7 -4
- package/dist/config/westnetz-neplan/callbacks/cb-psr.js.map +1 -1
- package/dist/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.d.ts +2 -2
- package/dist/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.js +2 -0
- package/dist/config/westnetz-neplan/callbacks/cb-wnenergyconsumer.js.map +1 -1
- package/dist/config/westnetz-neplan/property-handler-westenergy.config.d.ts +19 -19
- package/dist/constants/cim-asset-types.d.ts +20 -0
- package/dist/constants/cim-asset-types.js +36 -14
- package/dist/constants/cim-asset-types.js.map +1 -1
- package/dist/constants/cim-class-names.d.ts +28 -4
- package/dist/constants/cim-class-names.js +192 -133
- package/dist/constants/cim-class-names.js.map +1 -1
- package/dist/constants/cim-constants.js +3 -3
- package/dist/constants/cim-constants.js.map +1 -1
- package/dist/constants/rdf-xml.js +59 -59
- package/dist/constants/rdf-xml.js.map +1 -1
- package/dist/converter/PSDM/ConverterPowerSystemDataModel.d.ts +47 -3
- package/dist/converter/PSDM/ConverterPowerSystemDataModel.js +94 -15
- package/dist/converter/PSDM/ConverterPowerSystemDataModel.js.map +1 -1
- package/dist/converter/PSDM/model/FixedFeedIn.d.ts +9 -0
- package/dist/converter/PSDM/model/Line.d.ts +12 -0
- package/dist/converter/PSDM/model/LineType.d.ts +11 -0
- package/dist/converter/PSDM/model/Load.d.ts +12 -0
- package/dist/converter/PSDM/model/TimeSeriesMapping.d.ts +6 -0
- package/dist/converter/PSDM/model/Transformer.d.ts +11 -0
- package/dist/converter/PSDM/model/TransformerType.d.ts +18 -0
- package/dist/converter/PSDM/model/geo/GeoPosition.d.ts +1 -1
- package/dist/converter/integral7/converter.integral7.d.ts +207 -0
- package/dist/converter/integral7/converter.integral7.js +5530 -0
- package/dist/converter/integral7/converter.integral7.js.map +1 -0
- package/dist/converter/integral7/dl-convert/db/database.interface.types.d.ts +15 -0
- package/dist/converter/integral7/dl-convert/dl-converter-i7.d.ts +14 -5
- package/dist/converter/integral7/dl-convert/dl-converter-i7.js +1074 -927
- package/dist/converter/integral7/dl-convert/dl-converter-i7.js.map +1 -1
- package/dist/converter/integral7/interface-i7/data-structures-i7.d.ts +10 -0
- package/dist/converter/integral7/interface-i7/export-frame-i7.d.ts +15 -2
- package/dist/converter/integral7/interface-i7/export-frame-i7.js +132 -53
- package/dist/converter/integral7/interface-i7/export-frame-i7.js.map +1 -1
- package/dist/converter/integral7/model/dl-utils/I7KnotenBeziehung.d.ts +6 -0
- package/dist/converter/integral7/model/dl-utils/I7KnotenBeziehung.js +11 -0
- package/dist/converter/integral7/model/dl-utils/I7KnotenBeziehung.js.map +1 -1
- package/dist/converter/integral7/model/dl-utils/QueryObjectSsabNsg.d.ts +11 -0
- package/dist/converter/integral7/model/dl-utils/QueryObjectSsabNsg.js +22 -0
- package/dist/converter/integral7/model/dl-utils/QueryObjectSsabNsg.js.map +1 -1
- package/dist/converter/integral7/model/dl-utils/constants.d.ts +8 -0
- package/dist/converter/integral7/model/dl-utils/constants.js +66 -58
- package/dist/converter/integral7/model/dl-utils/constants.js.map +1 -1
- package/dist/converter/integral7/model/dl-utils/util-functions.d.ts +18 -5
- package/dist/converter/integral7/model/dl-utils/util-functions.js +210 -11
- package/dist/converter/integral7/model/dl-utils/util-functions.js.map +1 -1
- package/dist/converter/integral7/model/integral/BaseClass.js +8 -0
- package/dist/converter/integral7/model/integral/BaseClass.js.map +1 -1
- package/dist/converter/integral7/model/integral/BaseClassNsg.js +7 -0
- package/dist/converter/integral7/model/integral/BaseClassNsg.js.map +1 -1
- package/dist/converter/integral7/model/integral/BaseClassTrafoNsg.d.ts +4 -0
- package/dist/converter/integral7/model/integral/BaseClassTrafoNsg.js +6 -0
- package/dist/converter/integral7/model/integral/BaseClassTrafoNsg.js.map +1 -1
- package/dist/converter/integral7/model/integral/KnotenSo.js +6 -0
- package/dist/converter/integral7/model/integral/KnotenSo.js.map +1 -1
- package/dist/converter/integral7/model/integral/KnotenSoNsg.js +6 -0
- package/dist/converter/integral7/model/integral/KnotenSoNsg.js.map +1 -1
- package/dist/converter/integral7/model/integral/Laengskupplung.js +6 -0
- package/dist/converter/integral7/model/integral/Laengskupplung.js.map +1 -1
- package/dist/converter/integral7/model/integral/Leitung.js +9 -0
- package/dist/converter/integral7/model/integral/Leitung.js.map +1 -1
- package/dist/converter/integral7/model/integral/LeitungNsg.js +10 -0
- package/dist/converter/integral7/model/integral/LeitungNsg.js.map +1 -1
- package/dist/converter/integral7/model/integral/Point.d.ts +7 -0
- package/dist/converter/integral7/model/integral/Point.js +10 -1
- package/dist/converter/integral7/model/integral/Point.js.map +1 -1
- package/dist/converter/integral7/model/integral/Schaltanlage.js +8 -3
- package/dist/converter/integral7/model/integral/Schaltanlage.js.map +1 -1
- package/dist/converter/integral7/model/integral/SchaltanlageNSG.js +8 -1
- package/dist/converter/integral7/model/integral/SchaltanlageNSG.js.map +1 -1
- package/dist/converter/integral7/model/integral/Schaltanlagenabschnitt.js +7 -2
- package/dist/converter/integral7/model/integral/Schaltanlagenabschnitt.js.map +1 -1
- package/dist/converter/integral7/model/integral/SchaltanlagenabschnittNsg.js +8 -0
- package/dist/converter/integral7/model/integral/SchaltanlagenabschnittNsg.js.map +1 -1
- package/dist/converter/integral7/model/integral/Schaltfeld.js +9 -4
- package/dist/converter/integral7/model/integral/Schaltfeld.js.map +1 -1
- package/dist/converter/integral7/model/integral/SchaltfeldNsg.d.ts +8 -0
- package/dist/converter/integral7/model/integral/SchaltfeldNsg.js +17 -0
- package/dist/converter/integral7/model/integral/SchaltfeldNsg.js.map +1 -1
- package/dist/converter/integral7/model/integral/Standort.js +15 -1
- package/dist/converter/integral7/model/integral/Standort.js.map +1 -1
- package/dist/converter/integral7/model/integral/StandortNsg.js +4 -1
- package/dist/converter/integral7/model/integral/StandortNsg.js.map +1 -1
- package/dist/converter/integral7/model/integral/Trafo2w.js +6 -0
- package/dist/converter/integral7/model/integral/Trafo2w.js.map +1 -1
- package/dist/converter/integral7/model/integral/Trafo2wNsg.js +5 -0
- package/dist/converter/integral7/model/integral/Trafo2wNsg.js.map +1 -1
- package/dist/converter/integral7/model/integral/Trafo3w.js +5 -0
- package/dist/converter/integral7/model/integral/Trafo3w.js.map +1 -1
- package/dist/converter/integral7/model/integral/Trafo3wNsg.d.ts +4 -0
- package/dist/converter/integral7/model/integral/Trafo3wNsg.js +12 -0
- package/dist/converter/integral7/model/integral/Trafo3wNsg.js.map +1 -1
- package/dist/converter/integral7/model/interfaces.d.ts +30 -0
- package/dist/converter/integral7/sql/integral.sql.d.ts +5 -0
- package/dist/converter/integral7/sql/integral.sql.js +276 -255
- package/dist/converter/integral7/sql/integral.sql.js.map +1 -1
- package/dist/converter/integral7/utils-cgmes-export.d.ts +10 -10
- package/dist/converter/integral7/utils-cgmes-export.js.map +1 -1
- package/dist/converter/integral7/utils-schema.js +1 -2
- package/dist/converter/integral7/utils-schema.js.map +1 -1
- package/dist/converter/integral7/utils-trafo3w.d.ts +66 -0
- package/dist/converter/integral7/utils-trafo3w.js +70 -3
- package/dist/converter/integral7/utils-trafo3w.js.map +1 -1
- package/dist/converter/integral7/utils.d.ts +53 -11
- package/dist/converter/integral7/utils.js +262 -47
- package/dist/converter/integral7/utils.js.map +1 -1
- package/dist/data-structures/Settings.js +6 -2
- package/dist/data-structures/Settings.js.map +1 -1
- package/dist/data-structures/graph/GraphObject.js +8 -3
- package/dist/data-structures/graph/GraphObject.js.map +1 -1
- package/dist/data-structures/graph/Types.js.map +1 -1
- package/dist/data-structures/graph/connections/connection.js +5 -1
- package/dist/data-structures/graph/connections/connection.js.map +1 -1
- package/dist/data-structures/graph/edges/GraphEdge.js +2 -0
- package/dist/data-structures/graph/edges/GraphEdge.js.map +1 -1
- package/dist/data-structures/graph/graph-interfaces.d.ts +3 -0
- package/dist/data-structures/graph/graph-util.d.ts +4 -0
- package/dist/data-structures/graph/graph-util.js +29 -2
- package/dist/data-structures/graph/graph-util.js.map +1 -1
- package/dist/data-structures/graph/graph.d.ts +9 -3
- package/dist/data-structures/graph/graph.js +19 -3
- package/dist/data-structures/graph/graph.js.map +1 -1
- package/dist/data-structures/tree/GraphTree.d.ts +2 -0
- package/dist/data-structures/tree/GraphTree.js +13 -10
- package/dist/data-structures/tree/GraphTree.js.map +1 -1
- package/dist/data-structures/tree/GraphTreeEdge.js +6 -3
- package/dist/data-structures/tree/GraphTreeEdge.js.map +1 -1
- package/dist/data-structures/tree/GraphTreeNode.d.ts +1 -0
- package/dist/data-structures/tree/GraphTreeNode.js +17 -8
- package/dist/data-structures/tree/GraphTreeNode.js.map +1 -1
- package/dist/data-structures/tree/GraphTreeObject.d.ts +2 -0
- package/dist/data-structures/tree/GraphTreeObject.js +6 -1
- package/dist/data-structures/tree/GraphTreeObject.js.map +1 -1
- package/dist/etl/etl-neplan/et-neplan-regex.d.ts +3 -0
- package/dist/etl/etl-neplan/et-neplan-regex.js +3 -0
- package/dist/etl/etl-neplan/et-neplan-regex.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan-contingency-analysis.d.ts +2 -2
- package/dist/etl/etl-neplan/etl-neplan-contingency-analysis.js +52 -4
- package/dist/etl/etl-neplan/etl-neplan-contingency-analysis.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan-csv.d.ts +31 -14
- package/dist/etl/etl-neplan/etl-neplan-csv.js +886 -400
- package/dist/etl/etl-neplan/etl-neplan-csv.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan-feederline.d.ts +30 -4
- package/dist/etl/etl-neplan/etl-neplan-feederline.js +136 -18
- package/dist/etl/etl-neplan/etl-neplan-feederline.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan-geo.d.ts +8 -7
- package/dist/etl/etl-neplan/etl-neplan-geo.js +77 -78
- package/dist/etl/etl-neplan/etl-neplan-geo.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan-geo_depr.d.ts +169 -0
- package/dist/etl/etl-neplan/etl-neplan-geo_depr.js +226 -0
- package/dist/etl/etl-neplan/etl-neplan-geo_depr.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan-util.js +10 -7
- package/dist/etl/etl-neplan/etl-neplan-util.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan.d.ts +38 -5
- package/dist/etl/etl-neplan/etl-neplan.js +350 -99
- package/dist/etl/etl-neplan/etl-neplan.js.map +1 -1
- package/dist/etl/etl-neplan/neplan-contingency-analysis.d.ts +3 -2
- package/dist/etl/etl-neplan/neplan-contingency-analysis.js +191 -43
- package/dist/etl/etl-neplan/neplan-contingency-analysis.js.map +1 -1
- package/dist/etl/etl-psdm-novagent/etl-psdm-novagent-energytypes.d.ts +3 -2
- package/dist/etl/etl-psdm-novagent/etl-psdm-novagent-energytypes.js +5 -2
- package/dist/etl/etl-psdm-novagent/etl-psdm-novagent-energytypes.js.map +1 -1
- package/dist/factory/factory-interfaces.d.ts +8 -5
- package/dist/factory/object-factory.js +13 -4
- package/dist/factory/object-factory.js.map +1 -1
- package/dist/factory/sparql-factory.js +7 -0
- package/dist/factory/sparql-factory.js.map +1 -1
- package/dist/grid-validation/grid-validation.js +8 -4
- package/dist/grid-validation/grid-validation.js.map +1 -1
- package/dist/index.d.ts +44 -23
- package/dist/index.js +107 -66
- package/dist/index.js.map +1 -1
- package/dist/interfaces/IUUIDObject.d.ts +8 -0
- package/dist/interfaces/IUUIDObject.js +3 -0
- package/dist/interfaces/IUUIDObject.js.map +1 -0
- package/dist/interfaces/model/assets/IActivityRecord.d.ts +8 -0
- package/dist/interfaces/model/assets/IActivityRecord.js +3 -0
- package/dist/interfaces/model/assets/IActivityRecord.js.map +1 -0
- package/dist/interfaces/model/core/IFeeder.d.ts +3 -0
- package/dist/interfaces/model/core/IIdentifiedObject.d.ts +25 -7
- package/dist/interfaces/model/core/ITerminal.d.ts +1 -0
- package/dist/interfaces/model/operations/IOutage.d.ts +3 -0
- package/dist/interfaces/model/operations/ISwitchingPlan.d.ts +8 -0
- package/dist/interfaces/persistence.interfaces.d.ts +1 -0
- package/dist/interfaces/persistence.interfaces.js +16 -0
- package/dist/interfaces/persistence.interfaces.js.map +1 -1
- package/dist/interfaces/schema-settings/ShapeInfos.js +12 -0
- package/dist/interfaces/schema-settings/ShapeInfos.js.map +1 -1
- package/dist/model/alternate-models/AlternateModel.js +2 -0
- package/dist/model/alternate-models/AlternateModel.js.map +1 -1
- package/dist/model/alternate-models/AlternateModelGroup.js +1 -1
- package/dist/model/alternate-models/AlternateModelGroup.js.map +1 -1
- package/dist/model/assetinfo/AssetInfo.js +5 -4
- package/dist/model/assetinfo/AssetInfo.js.map +1 -1
- package/dist/model/assetinfo/PowerTransformerInfo.d.ts +1 -0
- package/dist/model/assetinfo/PowerTransformerInfo.js +1 -0
- package/dist/model/assetinfo/PowerTransformerInfo.js.map +1 -1
- package/dist/model/assetinfo/SwitchInfo.d.ts +4 -4
- package/dist/model/assetinfo/SwitchInfo.js +21 -22
- package/dist/model/assetinfo/SwitchInfo.js.map +1 -1
- package/dist/model/assetinfo/TapChangerInfo.d.ts +20 -1
- package/dist/model/assetinfo/TapChangerInfo.js +69 -28
- package/dist/model/assetinfo/TapChangerInfo.js.map +1 -1
- package/dist/model/assetinfo/TransformerEndInfo.d.ts +2 -1
- package/dist/model/assetinfo/TransformerEndInfo.js +9 -3
- package/dist/model/assetinfo/TransformerEndInfo.js.map +1 -1
- package/dist/model/assetinfo/WireInfo.d.ts +1 -1
- package/dist/model/assetinfo/WireInfo.js +3 -0
- package/dist/model/assetinfo/WireInfo.js.map +1 -1
- package/dist/model/assets/AggregateScore.d.ts +7 -0
- package/dist/model/assets/AggregateScore.js +43 -0
- package/dist/model/assets/AggregateScore.js.map +1 -1
- package/dist/model/assets/Analytic.d.ts +4 -4
- package/dist/model/assets/Analytic.js +33 -28
- package/dist/model/assets/Analytic.js.map +1 -1
- package/dist/model/assets/AnalyticScore.d.ts +9 -3
- package/dist/model/assets/AnalyticScore.js +20 -0
- package/dist/model/assets/AnalyticScore.js.map +1 -1
- package/dist/model/assets/Asset.d.ts +17 -11
- package/dist/model/assets/Asset.js +107 -81
- package/dist/model/assets/Asset.js.map +1 -1
- package/dist/model/assets/AssetContainer.js +2 -2
- package/dist/model/assets/AssetContainer.js.map +1 -1
- package/dist/model/assets/AssetDeployment.d.ts +9 -4
- package/dist/model/assets/AssetDeployment.js +38 -26
- package/dist/model/assets/AssetDeployment.js.map +1 -1
- package/dist/model/assets/AssetHealthEvent.d.ts +5 -4
- package/dist/model/assets/AssetHealthEvent.js +28 -28
- package/dist/model/assets/AssetHealthEvent.js.map +1 -1
- package/dist/model/assets/AssetOrganisationRole.d.ts +3 -3
- package/dist/model/assets/AssetOrganisationRole.js +6 -2
- package/dist/model/assets/AssetOrganisationRole.js.map +1 -1
- package/dist/model/assets/AssetOwner.d.ts +5 -2
- package/dist/model/assets/AssetOwner.js +19 -17
- package/dist/model/assets/AssetOwner.js.map +1 -1
- package/dist/model/assets/AssetUser.d.ts +5 -2
- package/dist/model/assets/AssetUser.js +19 -17
- package/dist/model/assets/AssetUser.js.map +1 -1
- package/dist/model/assets/DeploymentDate.js +5 -0
- package/dist/model/assets/DeploymentDate.js.map +1 -1
- package/dist/model/assets/Facility.d.ts +3 -3
- package/dist/model/assets/Facility.js +23 -23
- package/dist/model/assets/Facility.js.map +1 -1
- package/dist/model/assets/HealthScore.d.ts +2 -2
- package/dist/model/assets/HealthScore.js +22 -23
- package/dist/model/assets/HealthScore.js.map +1 -1
- package/dist/model/assets/LifecycleDate.js +13 -0
- package/dist/model/assets/LifecycleDate.js.map +1 -1
- package/dist/model/assets/Structure.js +1 -0
- package/dist/model/assets/Structure.js.map +1 -1
- package/dist/model/common/ActivityRecord.d.ts +6 -5
- package/dist/model/common/ActivityRecord.js +10 -1
- package/dist/model/common/ActivityRecord.js.map +1 -1
- package/dist/model/common/CoordinateSystem.d.ts +6 -4
- package/dist/model/common/CoordinateSystem.js +19 -17
- package/dist/model/common/CoordinateSystem.js.map +1 -1
- package/dist/model/common/Document.js +1 -0
- package/dist/model/common/Document.js.map +1 -1
- package/dist/model/common/Location.d.ts +14 -4
- package/dist/model/common/Location.js +75 -30
- package/dist/model/common/Location.js.map +1 -1
- package/dist/model/common/Organisation.d.ts +2 -2
- package/dist/model/common/Organisation.js +21 -22
- package/dist/model/common/Organisation.js.map +1 -1
- package/dist/model/common/OrganisationRole.d.ts +3 -3
- package/dist/model/common/OrganisationRole.js +3 -2
- package/dist/model/common/OrganisationRole.js.map +1 -1
- package/dist/model/common/PositionPoint.d.ts +6 -4
- package/dist/model/common/PositionPoint.js +41 -27
- package/dist/model/common/PositionPoint.js.map +1 -1
- package/dist/model/common/Status.js +4 -0
- package/dist/model/common/Status.js.map +1 -1
- package/dist/model/core/ACDCTerminal.d.ts +3 -3
- package/dist/model/core/ACDCTerminal.js +5 -3
- package/dist/model/core/ACDCTerminal.js.map +1 -1
- package/dist/model/core/BaseVoltage.d.ts +7 -5
- package/dist/model/core/BaseVoltage.js +28 -26
- package/dist/model/core/BaseVoltage.js.map +1 -1
- package/dist/model/core/Bay.d.ts +5 -4
- package/dist/model/core/Bay.js +32 -27
- package/dist/model/core/Bay.js.map +1 -1
- package/dist/model/core/ConductingEquipment.d.ts +7 -3
- package/dist/model/core/ConductingEquipment.js +27 -1
- package/dist/model/core/ConductingEquipment.js.map +1 -1
- package/dist/model/core/ConnectivityNode.d.ts +6 -3
- package/dist/model/core/ConnectivityNode.js +70 -33
- package/dist/model/core/ConnectivityNode.js.map +1 -1
- package/dist/model/core/ConnectivityNodeContainer.js +2 -0
- package/dist/model/core/ConnectivityNodeContainer.js.map +1 -1
- package/dist/model/core/Curve.js +13 -1
- package/dist/model/core/Curve.js.map +1 -1
- package/dist/model/core/CurveData.d.ts +6 -0
- package/dist/model/core/CurveData.js +13 -0
- package/dist/model/core/CurveData.js.map +1 -1
- package/dist/model/core/Equipment.d.ts +5 -3
- package/dist/model/core/Equipment.js +14 -2
- package/dist/model/core/Equipment.js.map +1 -1
- package/dist/model/core/EquipmentContainer.d.ts +1 -0
- package/dist/model/core/EquipmentContainer.js +4 -1
- package/dist/model/core/EquipmentContainer.js.map +1 -1
- package/dist/model/core/Feeder.d.ts +19 -5
- package/dist/model/core/Feeder.js +31 -9
- package/dist/model/core/Feeder.js.map +1 -1
- package/dist/model/core/GeographicalRegion.d.ts +1 -0
- package/dist/model/core/GeographicalRegion.js +2 -1
- package/dist/model/core/GeographicalRegion.js.map +1 -1
- package/dist/model/core/IdentifiedObject.d.ts +64 -6
- package/dist/model/core/IdentifiedObject.js +112 -11
- package/dist/model/core/IdentifiedObject.js.map +1 -1
- package/dist/model/core/PSRType.d.ts +19 -4
- package/dist/model/core/PSRType.js +50 -19
- package/dist/model/core/PSRType.js.map +1 -1
- package/dist/model/core/PowerSystemResource.d.ts +5 -3
- package/dist/model/core/PowerSystemResource.js +24 -10
- package/dist/model/core/PowerSystemResource.js.map +1 -1
- package/dist/model/core/SubGeographicalRegion.d.ts +1 -0
- package/dist/model/core/SubGeographicalRegion.js +4 -2
- package/dist/model/core/SubGeographicalRegion.js.map +1 -1
- package/dist/model/core/Substation.d.ts +11 -4
- package/dist/model/core/Substation.js +49 -33
- package/dist/model/core/Substation.js.map +1 -1
- package/dist/model/core/Terminal.d.ts +19 -5
- package/dist/model/core/Terminal.js +92 -40
- package/dist/model/core/Terminal.js.map +1 -1
- package/dist/model/core/VoltageLevel.d.ts +6 -4
- package/dist/model/core/VoltageLevel.js +39 -27
- package/dist/model/core/VoltageLevel.js.map +1 -1
- package/dist/model/dc/ACDCConverter.d.ts +11 -0
- package/dist/model/dc/ACDCConverter.js +28 -4
- package/dist/model/dc/ACDCConverter.js.map +1 -1
- package/dist/model/dc/ACDCConverterDCTerminal.d.ts +1 -0
- package/dist/model/dc/ACDCConverterDCTerminal.js +4 -0
- package/dist/model/dc/ACDCConverterDCTerminal.js.map +1 -1
- package/dist/model/dc/CsConverter.d.ts +8 -0
- package/dist/model/dc/CsConverter.js +21 -0
- package/dist/model/dc/CsConverter.js.map +1 -1
- package/dist/model/dc/CsOperatingModeKind.js +1 -1
- package/dist/model/dc/CsOperatingModeKind.js.map +1 -1
- package/dist/model/dc/DCBaseTerminal.js +2 -0
- package/dist/model/dc/DCBaseTerminal.js.map +1 -1
- package/dist/model/dc/DCConductingEquipment.js +1 -4
- package/dist/model/dc/DCConductingEquipment.js.map +1 -1
- package/dist/model/dc/DCConverterUnit.d.ts +1 -0
- package/dist/model/dc/DCConverterUnit.js +4 -0
- package/dist/model/dc/DCConverterUnit.js.map +1 -1
- package/dist/model/dc/DCEquipmentContainer.js +1 -4
- package/dist/model/dc/DCEquipmentContainer.js.map +1 -1
- package/dist/model/dc/DCLine.js +20 -18
- package/dist/model/dc/DCLine.js.map +1 -1
- package/dist/model/dc/DCLineSegment.d.ts +5 -0
- package/dist/model/dc/DCLineSegment.js +35 -26
- package/dist/model/dc/DCLineSegment.js.map +1 -1
- package/dist/model/dc/DCNode.d.ts +2 -0
- package/dist/model/dc/DCNode.js +5 -1
- package/dist/model/dc/DCNode.js.map +1 -1
- package/dist/model/dc/DCTerminal.d.ts +1 -0
- package/dist/model/dc/DCTerminal.js +3 -0
- package/dist/model/dc/DCTerminal.js.map +1 -1
- package/dist/model/dc/VsConverter.d.ts +3 -0
- package/dist/model/dc/VsConverter.js +12 -0
- package/dist/model/dc/VsConverter.js.map +1 -1
- package/dist/model/diagram/Diagram.d.ts +5 -4
- package/dist/model/diagram/Diagram.js +36 -24
- package/dist/model/diagram/Diagram.js.map +1 -1
- package/dist/model/diagram/DiagramObject.d.ts +6 -4
- package/dist/model/diagram/DiagramObject.js +58 -31
- package/dist/model/diagram/DiagramObject.js.map +1 -1
- package/dist/model/diagram/DiagramObjectPoint.d.ts +5 -5
- package/dist/model/diagram/DiagramObjectPoint.js +53 -48
- package/dist/model/diagram/DiagramObjectPoint.js.map +1 -1
- package/dist/model/diagram/DiagramStyle.d.ts +1 -0
- package/dist/model/diagram/DiagramStyle.js +2 -1
- package/dist/model/diagram/DiagramStyle.js.map +1 -1
- package/dist/model/domain/ActivePower.js +3 -0
- package/dist/model/domain/ActivePower.js.map +1 -1
- package/dist/model/domain/AngleDegrees.js +3 -0
- package/dist/model/domain/AngleDegrees.js.map +1 -1
- package/dist/model/domain/ApparentPower.js +3 -0
- package/dist/model/domain/ApparentPower.js.map +1 -1
- package/dist/model/domain/Capacitance.js +3 -0
- package/dist/model/domain/Capacitance.js.map +1 -1
- package/dist/model/domain/CapacitancePerLength.js +3 -0
- package/dist/model/domain/CapacitancePerLength.js.map +1 -1
- package/dist/model/domain/ConductancePerLength.js +3 -0
- package/dist/model/domain/ConductancePerLength.js.map +1 -1
- package/dist/model/domain/CurrentFlow.js +3 -0
- package/dist/model/domain/CurrentFlow.js.map +1 -1
- package/dist/model/domain/Reactance.js +3 -0
- package/dist/model/domain/Reactance.js.map +1 -1
- package/dist/model/domain/ReactancePerLength.js +3 -0
- package/dist/model/domain/ReactancePerLength.js.map +1 -1
- package/dist/model/domain/ReactivePower.js +3 -0
- package/dist/model/domain/ReactivePower.js.map +1 -1
- package/dist/model/domain/Resistance.js +3 -0
- package/dist/model/domain/Resistance.js.map +1 -1
- package/dist/model/domain/ResistancePerLength.js +3 -0
- package/dist/model/domain/ResistancePerLength.js.map +1 -1
- package/dist/model/domain/Voltage.js +3 -0
- package/dist/model/domain/Voltage.js.map +1 -1
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/DynamicsFunctionBlock.js +1 -0
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/DynamicsFunctionBlock.js.map +1 -1
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/RotatingMachineDynamics.js +6 -0
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/RotatingMachineDynamics.js.map +1 -1
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/SynchronousMachineDetailed.js +4 -0
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/SynchronousMachineDetailed.js.map +1 -1
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/SynchronousMachineDynamics.js +1 -0
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/SynchronousMachineDynamics.js.map +1 -1
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/SynchronousMachineTimeConstantReactance.d.ts +61 -0
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/SynchronousMachineTimeConstantReactance.js +75 -0
- package/dist/model/dynamics/standard-models/synchronous-machine-dynamics/SynchronousMachineTimeConstantReactance.js.map +1 -1
- package/dist/model/equivalents/EquivalentBranch.d.ts +10 -4
- package/dist/model/equivalents/EquivalentBranch.js +69 -47
- package/dist/model/equivalents/EquivalentBranch.js.map +1 -1
- package/dist/model/equivalents/EquivalentInjection.d.ts +1 -0
- package/dist/model/equivalents/EquivalentInjection.js +16 -0
- package/dist/model/equivalents/EquivalentInjection.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js +19 -17
- package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js +19 -17
- package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js +19 -17
- package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js +19 -17
- package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONConstructionContainer.d.ts +8 -3
- package/dist/model/extensions/amprion/assets/AMPRIONConstructionContainer.js +21 -6
- package/dist/model/extensions/amprion/assets/AMPRIONConstructionContainer.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js +19 -17
- package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONCountry.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONCountry.js +23 -21
- package/dist/model/extensions/amprion/assets/AMPRIONCountry.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONFacility.d.ts +8 -3
- package/dist/model/extensions/amprion/assets/AMPRIONFacility.js +27 -5
- package/dist/model/extensions/amprion/assets/AMPRIONFacility.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.js +19 -17
- package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js +19 -17
- package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js +19 -17
- package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONSpanField.d.ts +8 -3
- package/dist/model/extensions/amprion/assets/AMPRIONSpanField.js +33 -5
- package/dist/model/extensions/amprion/assets/AMPRIONSpanField.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONState.d.ts +7 -4
- package/dist/model/extensions/amprion/assets/AMPRIONState.js +29 -26
- package/dist/model/extensions/amprion/assets/AMPRIONState.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONTeam.d.ts +5 -2
- package/dist/model/extensions/amprion/assets/AMPRIONTeam.js +20 -18
- package/dist/model/extensions/amprion/assets/AMPRIONTeam.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONTower.d.ts +8 -3
- package/dist/model/extensions/amprion/assets/AMPRIONTower.js +40 -10
- package/dist/model/extensions/amprion/assets/AMPRIONTower.js.map +1 -1
- package/dist/model/extensions/amprion/assets/AMPRIONWire.d.ts +8 -3
- package/dist/model/extensions/amprion/assets/AMPRIONWire.js +42 -5
- package/dist/model/extensions/amprion/assets/AMPRIONWire.js.map +1 -1
- package/dist/model/extensions/amprion/core/AMPRIONBay.d.ts +7 -3
- package/dist/model/extensions/amprion/core/AMPRIONBay.js +10 -5
- package/dist/model/extensions/amprion/core/AMPRIONBay.js.map +1 -1
- package/dist/model/extensions/amprion/core/AMPRIONConnectivityNode.d.ts +4 -0
- package/dist/model/extensions/amprion/core/AMPRIONConnectivityNode.js +6 -0
- package/dist/model/extensions/amprion/core/AMPRIONConnectivityNode.js.map +1 -1
- package/dist/model/extensions/amprion/core/AMPRIONLine.d.ts +5 -3
- package/dist/model/extensions/amprion/core/AMPRIONLine.js +8 -5
- package/dist/model/extensions/amprion/core/AMPRIONLine.js.map +1 -1
- package/dist/model/extensions/amprion/core/AMPRIONSubstation.d.ts +8 -3
- package/dist/model/extensions/amprion/core/AMPRIONSubstation.js +12 -5
- package/dist/model/extensions/amprion/core/AMPRIONSubstation.js.map +1 -1
- package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.d.ts +2 -2
- package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js +19 -20
- package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js.map +1 -1
- package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.d.ts +2 -2
- package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js +19 -20
- package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js.map +1 -1
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.d.ts +2 -2
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js +19 -20
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js.map +1 -1
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.d.ts +2 -2
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js +19 -20
- package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js.map +1 -1
- package/dist/model/extensions/amprion/project/AMPRIONConstructionProject.d.ts +3 -3
- package/dist/model/extensions/amprion/project/AMPRIONConstructionProject.js +31 -9
- package/dist/model/extensions/amprion/project/AMPRIONConstructionProject.js.map +1 -1
- package/dist/model/extensions/amprion/project/AMPRIONConstructionProjectBundle.d.ts +3 -3
- package/dist/model/extensions/amprion/project/AMPRIONConstructionProjectBundle.js +9 -8
- package/dist/model/extensions/amprion/project/AMPRIONConstructionProjectBundle.js.map +1 -1
- package/dist/model/extensions/amprion/project/AMPRIONConstructionProjectPlan.d.ts +2 -2
- package/dist/model/extensions/amprion/project/AMPRIONConstructionProjectPlan.js +6 -7
- package/dist/model/extensions/amprion/project/AMPRIONConstructionProjectPlan.js.map +1 -1
- package/dist/model/extensions/amprion/project/AMPRIONErpProject.js +2 -0
- package/dist/model/extensions/amprion/project/AMPRIONErpProject.js.map +1 -1
- package/dist/model/extensions/amprion/project/AMPRIONErpProjectPhase.d.ts +3 -3
- package/dist/model/extensions/amprion/project/AMPRIONErpProjectPhase.js +13 -7
- package/dist/model/extensions/amprion/project/AMPRIONErpProjectPhase.js.map +1 -1
- package/dist/model/extensions/amprion/project/AMPRIONErpProjectStructure.js +8 -1
- package/dist/model/extensions/amprion/project/AMPRIONErpProjectStructure.js.map +1 -1
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.d.ts +9 -4
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js +12 -7
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js.map +1 -1
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSubSegment.d.ts +7 -3
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSubSegment.js +37 -31
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSubSegment.js.map +1 -1
- package/dist/model/extensions/amprion/wires/AMPRIONSeriesCompensator.d.ts +4 -0
- package/dist/model/extensions/amprion/wires/AMPRIONSeriesCompensator.js +5 -0
- package/dist/model/extensions/amprion/wires/AMPRIONSeriesCompensator.js.map +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerEndInfo.d.ts +9 -4
- package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerEndInfo.js +46 -33
- package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerEndInfo.js.map +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerInfo.d.ts +4 -3
- package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerInfo.js +53 -26
- package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerInfo.js.map +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVStationInfo.d.ts +7 -3
- package/dist/model/extensions/enervance/assetinfo/EVStationInfo.js +34 -28
- package/dist/model/extensions/enervance/assetinfo/EVStationInfo.js.map +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVTapChangerInfo.d.ts +5 -4
- package/dist/model/extensions/enervance/assetinfo/EVTapChangerInfo.js +25 -22
- package/dist/model/extensions/enervance/assetinfo/EVTapChangerInfo.js.map +1 -1
- package/dist/model/extensions/enervance/assetinfo/EVWireInfo.d.ts +8 -3
- package/dist/model/extensions/enervance/assetinfo/EVWireInfo.js +56 -40
- package/dist/model/extensions/enervance/assetinfo/EVWireInfo.js.map +1 -1
- package/dist/model/extensions/enervance/assets/EVAnalytic.d.ts +3 -3
- package/dist/model/extensions/enervance/assets/EVAnalytic.js +15 -15
- package/dist/model/extensions/enervance/assets/EVAnalytic.js.map +1 -1
- package/dist/model/extensions/enervance/assets/EVImportanceKind.d.ts +7 -0
- package/dist/model/extensions/enervance/assets/EVImportanceKind.js +12 -0
- package/dist/model/extensions/enervance/assets/EVImportanceKind.js.map +1 -0
- package/dist/model/extensions/enervance/assets/EVImportanceScore.d.ts +2 -2
- package/dist/model/extensions/enervance/assets/EVImportanceScore.js +22 -23
- package/dist/model/extensions/enervance/assets/EVImportanceScore.js.map +1 -1
- package/dist/model/extensions/enervance/assets/EVIndicator.d.ts +3 -3
- package/dist/model/extensions/enervance/assets/EVIndicator.js +25 -24
- package/dist/model/extensions/enervance/assets/EVIndicator.js.map +1 -1
- package/dist/model/extensions/enervance/assets/EVPriorityKind.d.ts +7 -0
- package/dist/model/extensions/enervance/assets/EVPriorityKind.js +12 -0
- package/dist/model/extensions/enervance/assets/EVPriorityKind.js.map +1 -0
- package/dist/model/extensions/enervance/assets/EVWireObject.d.ts +19 -5
- package/dist/model/extensions/enervance/assets/EVWireObject.js +111 -60
- package/dist/model/extensions/enervance/assets/EVWireObject.js.map +1 -1
- package/dist/model/extensions/enervance/core/EVTerminal.d.ts +2 -2
- package/dist/model/extensions/enervance/core/EVTerminal.js +6 -6
- package/dist/model/extensions/enervance/core/EVTerminal.js.map +1 -1
- package/dist/model/extensions/enervance/generic-data-set/EVMetaObject.d.ts +34 -0
- package/dist/model/extensions/enervance/generic-data-set/EVMetaObject.js +114 -0
- package/dist/model/extensions/enervance/generic-data-set/EVMetaObject.js.map +1 -0
- package/dist/model/extensions/enervance/operations/EVTerminalAction.d.ts +6 -4
- package/dist/model/extensions/enervance/operations/EVTerminalAction.js +31 -16
- package/dist/model/extensions/enervance/operations/EVTerminalAction.js.map +1 -1
- package/dist/model/extensions/enervance/wires/EVACLineSegment.d.ts +7 -4
- package/dist/model/extensions/enervance/wires/EVACLineSegment.js +44 -42
- package/dist/model/extensions/enervance/wires/EVACLineSegment.js.map +1 -1
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.d.ts +5 -4
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js +39 -35
- package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js.map +1 -1
- package/dist/model/extensions/integral/common/INTEGRALMultiplierFactor.d.ts +4 -0
- package/dist/model/extensions/integral/common/INTEGRALMultiplierFactor.js +9 -0
- package/dist/model/extensions/integral/common/INTEGRALMultiplierFactor.js.map +1 -1
- package/dist/model/extensions/integral/equivalents/INTEGRALEquivalentInjection.d.ts +1 -0
- package/dist/model/extensions/integral/equivalents/INTEGRALEquivalentInjection.js +3 -0
- package/dist/model/extensions/integral/equivalents/INTEGRALEquivalentInjection.js.map +1 -1
- package/dist/model/extensions/integral/loadmodel/INTEGRALConformLoad.d.ts +1 -0
- package/dist/model/extensions/integral/loadmodel/INTEGRALConformLoad.js +4 -0
- package/dist/model/extensions/integral/loadmodel/INTEGRALConformLoad.js.map +1 -1
- package/dist/model/extensions/integral/wires/INTEGRALACLineSegment.d.ts +1 -0
- package/dist/model/extensions/integral/wires/INTEGRALACLineSegment.js +2 -0
- package/dist/model/extensions/integral/wires/INTEGRALACLineSegment.js.map +1 -1
- package/dist/model/extensions/integral/wires/INTEGRALAsynchronousMachine.d.ts +1 -0
- package/dist/model/extensions/integral/wires/INTEGRALAsynchronousMachine.js +5 -0
- package/dist/model/extensions/integral/wires/INTEGRALAsynchronousMachine.js.map +1 -1
- package/dist/model/extensions/integral/wires/INTEGRALExternalNetworkInjection.d.ts +1 -0
- package/dist/model/extensions/integral/wires/INTEGRALExternalNetworkInjection.js +5 -0
- package/dist/model/extensions/integral/wires/INTEGRALExternalNetworkInjection.js.map +1 -1
- package/dist/model/extensions/integral/wires/INTEGRALSynchronousMachine.d.ts +1 -0
- package/dist/model/extensions/integral/wires/INTEGRALSynchronousMachine.js +5 -0
- package/dist/model/extensions/integral/wires/INTEGRALSynchronousMachine.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.d.ts +17 -7
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js +70 -18
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/assets/WNFacilityKind.js +2 -3
- package/dist/model/extensions/neplan-westnetz/assets/WNFacilityKind.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/assets/WNWireInfo.d.ts +7 -3
- package/dist/model/extensions/neplan-westnetz/assets/WNWireInfo.js +43 -33
- package/dist/model/extensions/neplan-westnetz/assets/WNWireInfo.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOHealthScore.d.ts +12 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOHealthScore.js +60 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOHealthScore.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOImportanceScore.d.ts +11 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOImportanceScore.js +55 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOImportanceScore.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOPriority.d.ts +12 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOPriority.js +60 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOPriority.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOState.d.ts +7 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOState.js +12 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNZUWOState.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/common/WNLocation.d.ts +10 -4
- package/dist/model/extensions/neplan-westnetz/common/WNLocation.js +35 -28
- package/dist/model/extensions/neplan-westnetz/common/WNLocation.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/core/WNBay.d.ts +5 -4
- package/dist/model/extensions/neplan-westnetz/core/WNBay.js +33 -30
- package/dist/model/extensions/neplan-westnetz/core/WNBay.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.d.ts +22 -5
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js +227 -98
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/core/WNFeeder.d.ts +16 -4
- package/dist/model/extensions/neplan-westnetz/core/WNFeeder.js +85 -30
- package/dist/model/extensions/neplan-westnetz/core/WNFeeder.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/core/WNSwitchTypeKind.js +1 -1
- package/dist/model/extensions/neplan-westnetz/core/WNSwitchTypeKind.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode.d.ts +5 -3
- package/dist/model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode.js +21 -17
- package/dist/model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/operations/WNOutage.d.ts +7 -4
- package/dist/model/extensions/neplan-westnetz/operations/WNOutage.js +17 -12
- package/dist/model/extensions/neplan-westnetz/operations/WNOutage.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/wires/WNACLineSegment.d.ts +4 -4
- package/dist/model/extensions/neplan-westnetz/wires/WNACLineSegment.js +50 -47
- package/dist/model/extensions/neplan-westnetz/wires/WNACLineSegment.js.map +1 -1
- package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.d.ts +34 -3
- package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.js +192 -116
- package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.js.map +1 -1
- package/dist/model/faults/Fault.d.ts +4 -2
- package/dist/model/faults/Fault.js +5 -0
- package/dist/model/faults/Fault.js.map +1 -1
- package/dist/model/generation/FossilFuel.d.ts +1 -0
- package/dist/model/generation/FossilFuel.js +4 -0
- package/dist/model/generation/FossilFuel.js.map +1 -1
- package/dist/model/generation/GeneratingUnit.d.ts +12 -4
- package/dist/model/generation/GeneratingUnit.js +63 -40
- package/dist/model/generation/GeneratingUnit.js.map +1 -1
- package/dist/model/generation/HydroGeneratingUnit.d.ts +1 -0
- package/dist/model/generation/HydroGeneratingUnit.js +3 -0
- package/dist/model/generation/HydroGeneratingUnit.js.map +1 -1
- package/dist/model/generation/HydroPowerPlant.js +2 -2
- package/dist/model/generation/HydroPowerPlant.js.map +1 -1
- package/dist/model/generation/HydroPump.js +2 -0
- package/dist/model/generation/HydroPump.js.map +1 -1
- package/dist/model/generation/SolarGeneratingUnit.d.ts +1 -0
- package/dist/model/generation/SolarGeneratingUnit.js +1 -0
- package/dist/model/generation/SolarGeneratingUnit.js.map +1 -1
- package/dist/model/generation/ThermalGeneratingUnit.d.ts +1 -0
- package/dist/model/generation/ThermalGeneratingUnit.js +2 -1
- package/dist/model/generation/ThermalGeneratingUnit.js.map +1 -1
- package/dist/model/generation/WindGeneratingUnit.d.ts +3 -0
- package/dist/model/generation/WindGeneratingUnit.js +13 -9
- package/dist/model/generation/WindGeneratingUnit.js.map +1 -1
- package/dist/model/generic-data-set/ChangeSet.d.ts +9 -1
- package/dist/model/generic-data-set/ChangeSet.js +58 -2
- package/dist/model/generic-data-set/ChangeSet.js.map +1 -1
- package/dist/model/generic-data-set/ChangeSetMember.d.ts +34 -4
- package/dist/model/generic-data-set/ChangeSetMember.js +73 -4
- package/dist/model/generic-data-set/ChangeSetMember.js.map +1 -1
- package/dist/model/generic-data-set/DataSet.d.ts +10 -1
- package/dist/model/generic-data-set/DataSet.js +19 -0
- package/dist/model/generic-data-set/DataSet.js.map +1 -1
- package/dist/model/generic-data-set/InstanceSet.js +2 -2
- package/dist/model/generic-data-set/InstanceSet.js.map +1 -1
- package/dist/model/generic-data-set/ObjectCreation.d.ts +7 -1
- package/dist/model/generic-data-set/ObjectCreation.js +50 -6
- package/dist/model/generic-data-set/ObjectCreation.js.map +1 -1
- package/dist/model/generic-data-set/ObjectDeletion.d.ts +7 -1
- package/dist/model/generic-data-set/ObjectDeletion.js +50 -6
- package/dist/model/generic-data-set/ObjectDeletion.js.map +1 -1
- package/dist/model/generic-data-set/ObjectModification.d.ts +8 -1
- package/dist/model/generic-data-set/ObjectModification.js +58 -2
- package/dist/model/generic-data-set/ObjectModification.js.map +1 -1
- package/dist/model/generic-data-set/ObjectReverseModification.d.ts +8 -1
- package/dist/model/generic-data-set/ObjectReverseModification.js +52 -2
- package/dist/model/generic-data-set/ObjectReverseModification.js.map +1 -1
- package/dist/model/loadmodel/ConformLoad.d.ts +1 -0
- package/dist/model/loadmodel/ConformLoad.js +6 -3
- package/dist/model/loadmodel/ConformLoad.js.map +1 -1
- package/dist/model/loadmodel/ConformLoadGroup.js +3 -3
- package/dist/model/loadmodel/ConformLoadGroup.js.map +1 -1
- package/dist/model/loadmodel/EnergyArea.d.ts +5 -0
- package/dist/model/loadmodel/EnergyArea.js +5 -0
- package/dist/model/loadmodel/EnergyArea.js.map +1 -1
- package/dist/model/loadmodel/LoadArea.d.ts +6 -0
- package/dist/model/loadmodel/LoadArea.js +10 -4
- package/dist/model/loadmodel/LoadArea.js.map +1 -1
- package/dist/model/loadmodel/LoadGroup.js +2 -0
- package/dist/model/loadmodel/LoadGroup.js.map +1 -1
- package/dist/model/loadmodel/SubLoadArea.d.ts +7 -0
- package/dist/model/loadmodel/SubLoadArea.js +13 -4
- package/dist/model/loadmodel/SubLoadArea.js.map +1 -1
- package/dist/model/meas/Analog.js +4 -0
- package/dist/model/meas/Analog.js.map +1 -1
- package/dist/model/meas/Measurement.js +4 -0
- package/dist/model/meas/Measurement.js.map +1 -1
- package/dist/model/model-description/FullModel.d.ts +7 -0
- package/dist/model/model-description/FullModel.js +24 -0
- package/dist/model/model-description/FullModel.js.map +1 -0
- package/dist/model/model-description/Model.d.ts +23 -0
- package/dist/model/model-description/Model.js +86 -0
- package/dist/model/model-description/Model.js.map +1 -0
- package/dist/model/model-operations/DatasetArg.d.ts +1 -1
- package/dist/model/model-operations/DatasetArg.js +3 -2
- package/dist/model/model-operations/DatasetArg.js.map +1 -1
- package/dist/model/model-operations/IncrementalDatasetArg.d.ts +9 -1
- package/dist/model/model-operations/IncrementalDatasetArg.js +59 -2
- package/dist/model/model-operations/IncrementalDatasetArg.js.map +1 -1
- package/dist/model/model-operations/IncrementalDatasetArgDescription.d.ts +5 -0
- package/dist/model/model-operations/IncrementalDatasetArgDescription.js +37 -1
- package/dist/model/model-operations/IncrementalDatasetArgDescription.js.map +1 -1
- package/dist/model/model-operations/ModelOperation.d.ts +14 -2
- package/dist/model/model-operations/ModelOperation.js +70 -1
- package/dist/model/model-operations/ModelOperation.js.map +1 -1
- package/dist/model/model-operations/ModelOperationArg.d.ts +7 -1
- package/dist/model/model-operations/ModelOperationArg.js +17 -1
- package/dist/model/model-operations/ModelOperationArg.js.map +1 -1
- package/dist/model/model-operations/ModelOperationArgDescription.d.ts +4 -0
- package/dist/model/model-operations/ModelOperationArgDescription.js +15 -0
- package/dist/model/model-operations/ModelOperationArgDescription.js.map +1 -1
- package/dist/model/model-operations/ModelOperationDescription.d.ts +10 -2
- package/dist/model/model-operations/ModelOperationDescription.js +56 -17
- package/dist/model/model-operations/ModelOperationDescription.js.map +1 -1
- package/dist/model/operationallimits/CurrentLimit.d.ts +5 -4
- package/dist/model/operationallimits/CurrentLimit.js +23 -22
- package/dist/model/operationallimits/CurrentLimit.js.map +1 -1
- package/dist/model/operationallimits/OperationalLimit.d.ts +3 -3
- package/dist/model/operationallimits/OperationalLimit.js +5 -0
- package/dist/model/operationallimits/OperationalLimit.js.map +1 -1
- package/dist/model/operationallimits/OperationalLimitSet.d.ts +5 -4
- package/dist/model/operationallimits/OperationalLimitSet.js +28 -21
- package/dist/model/operationallimits/OperationalLimitSet.js.map +1 -1
- package/dist/model/operationallimits/OperationalLimitType.d.ts +3 -2
- package/dist/model/operationallimits/OperationalLimitType.js +25 -19
- package/dist/model/operationallimits/OperationalLimitType.js.map +1 -1
- package/dist/model/operationallimits/VoltageLimit.d.ts +1 -0
- package/dist/model/operationallimits/VoltageLimit.js +3 -0
- package/dist/model/operationallimits/VoltageLimit.js.map +1 -1
- package/dist/model/operations/ControlArea.d.ts +1 -0
- package/dist/model/operations/ControlArea.js +5 -4
- package/dist/model/operations/ControlArea.js.map +1 -1
- package/dist/model/operations/Outage.d.ts +6 -3
- package/dist/model/operations/Outage.js +8 -0
- package/dist/model/operations/Outage.js.map +1 -1
- package/dist/model/operations/SwitchAction.d.ts +6 -4
- package/dist/model/operations/SwitchAction.js +20 -15
- package/dist/model/operations/SwitchAction.js.map +1 -1
- package/dist/model/operations/SwitchingAction.d.ts +2 -2
- package/dist/model/operations/SwitchingAction.js +3 -0
- package/dist/model/operations/SwitchingAction.js.map +1 -1
- package/dist/model/operations/SwitchingPlan.d.ts +14 -3
- package/dist/model/operations/SwitchingPlan.js +24 -5
- package/dist/model/operations/SwitchingPlan.js.map +1 -1
- package/dist/model/statevariables/StateVariable.js +1 -0
- package/dist/model/statevariables/StateVariable.js.map +1 -1
- package/dist/model/statevariables/SvPowerFlow.d.ts +5 -4
- package/dist/model/statevariables/SvPowerFlow.js +29 -23
- package/dist/model/statevariables/SvPowerFlow.js.map +1 -1
- package/dist/model/statevariables/SvStatus.d.ts +1 -0
- package/dist/model/statevariables/SvStatus.js +4 -1
- package/dist/model/statevariables/SvStatus.js.map +1 -1
- package/dist/model/statevariables/SvTapStep.d.ts +1 -0
- package/dist/model/statevariables/SvTapStep.js +4 -0
- package/dist/model/statevariables/SvTapStep.js.map +1 -1
- package/dist/model/statevariables/SvVoltage.d.ts +4 -4
- package/dist/model/statevariables/SvVoltage.js +27 -23
- package/dist/model/statevariables/SvVoltage.js.map +1 -1
- package/dist/model/topology/TopologicalIsland.js +22 -20
- package/dist/model/topology/TopologicalIsland.js.map +1 -1
- package/dist/model/topology/TopologicalNode.d.ts +5 -4
- package/dist/model/topology/TopologicalNode.js +45 -29
- package/dist/model/topology/TopologicalNode.js.map +1 -1
- package/dist/model/wires/ACLineSegment.d.ts +9 -4
- package/dist/model/wires/ACLineSegment.js +61 -46
- package/dist/model/wires/ACLineSegment.js.map +1 -1
- package/dist/model/wires/AsynchronousMachine.d.ts +1 -0
- package/dist/model/wires/AsynchronousMachine.js +11 -0
- package/dist/model/wires/AsynchronousMachine.js.map +1 -1
- package/dist/model/wires/Breaker.d.ts +5 -4
- package/dist/model/wires/Breaker.js +34 -34
- package/dist/model/wires/Breaker.js.map +1 -1
- package/dist/model/wires/BusbarSection.d.ts +5 -4
- package/dist/model/wires/BusbarSection.js +25 -23
- package/dist/model/wires/BusbarSection.js.map +1 -1
- package/dist/model/wires/Clamp.js +9 -9
- package/dist/model/wires/Clamp.js.map +1 -1
- package/dist/model/wires/CompositeSwitch.js +1 -0
- package/dist/model/wires/CompositeSwitch.js.map +1 -1
- package/dist/model/wires/Conductor.d.ts +4 -3
- package/dist/model/wires/Conductor.js +3 -1
- package/dist/model/wires/Conductor.js.map +1 -1
- package/dist/model/wires/Disconnector.d.ts +5 -4
- package/dist/model/wires/Disconnector.js +35 -34
- package/dist/model/wires/Disconnector.js.map +1 -1
- package/dist/model/wires/EarthFaultCompensator.d.ts +1 -1
- package/dist/model/wires/EarthFaultCompensator.js +1 -0
- package/dist/model/wires/EarthFaultCompensator.js.map +1 -1
- package/dist/model/wires/EnergyConsumer.d.ts +9 -5
- package/dist/model/wires/EnergyConsumer.js +60 -37
- package/dist/model/wires/EnergyConsumer.js.map +1 -1
- package/dist/model/wires/EnergySource.d.ts +10 -5
- package/dist/model/wires/EnergySource.js +24 -7
- package/dist/model/wires/EnergySource.js.map +1 -1
- package/dist/model/wires/ExternalNetworkInjection.d.ts +5 -4
- package/dist/model/wires/ExternalNetworkInjection.js +84 -59
- package/dist/model/wires/ExternalNetworkInjection.js.map +1 -1
- package/dist/model/wires/Ground.js +13 -12
- package/dist/model/wires/Ground.js.map +1 -1
- package/dist/model/wires/GroundDisconnector.js +16 -12
- package/dist/model/wires/GroundDisconnector.js.map +1 -1
- package/dist/model/wires/GroundingImpedance.d.ts +1 -0
- package/dist/model/wires/GroundingImpedance.js +2 -0
- package/dist/model/wires/GroundingImpedance.js.map +1 -1
- package/dist/model/wires/Junction.d.ts +3 -2
- package/dist/model/wires/Junction.js +24 -23
- package/dist/model/wires/Junction.js.map +1 -1
- package/dist/model/wires/Line.d.ts +5 -4
- package/dist/model/wires/Line.js +30 -29
- package/dist/model/wires/Line.js.map +1 -1
- package/dist/model/wires/LinearShuntCompensator.d.ts +1 -0
- package/dist/model/wires/LinearShuntCompensator.js +8 -3
- package/dist/model/wires/LinearShuntCompensator.js.map +1 -1
- package/dist/model/wires/LoadBreakSwitch.d.ts +4 -4
- package/dist/model/wires/LoadBreakSwitch.js +34 -34
- package/dist/model/wires/LoadBreakSwitch.js.map +1 -1
- package/dist/model/wires/PetersenCoil.d.ts +4 -3
- package/dist/model/wires/PetersenCoil.js +41 -31
- package/dist/model/wires/PetersenCoil.js.map +1 -1
- package/dist/model/wires/PhaseTapChanger.js +2 -0
- package/dist/model/wires/PhaseTapChanger.js.map +1 -1
- package/dist/model/wires/PhaseTapChangerAsymmetrical.d.ts +1 -0
- package/dist/model/wires/PhaseTapChangerAsymmetrical.js +2 -0
- package/dist/model/wires/PhaseTapChangerAsymmetrical.js.map +1 -1
- package/dist/model/wires/PhaseTapChangerLinear.d.ts +1 -0
- package/dist/model/wires/PhaseTapChangerLinear.js +4 -0
- package/dist/model/wires/PhaseTapChangerLinear.js.map +1 -1
- package/dist/model/wires/PhaseTapChangerNonLinear.js +3 -0
- package/dist/model/wires/PhaseTapChangerNonLinear.js.map +1 -1
- package/dist/model/wires/PhaseTapChangerSymmetrical.d.ts +1 -0
- package/dist/model/wires/PhaseTapChangerSymmetrical.js +1 -0
- package/dist/model/wires/PhaseTapChangerSymmetrical.js.map +1 -1
- package/dist/model/wires/PhaseTapChangerTable.d.ts +1 -0
- package/dist/model/wires/PhaseTapChangerTable.js +4 -1
- package/dist/model/wires/PhaseTapChangerTable.js.map +1 -1
- package/dist/model/wires/PhaseTapChangerTablePoint.d.ts +1 -0
- package/dist/model/wires/PhaseTapChangerTablePoint.js +4 -0
- package/dist/model/wires/PhaseTapChangerTablePoint.js.map +1 -1
- package/dist/model/wires/PhaseTapChangerTabular.d.ts +1 -0
- package/dist/model/wires/PhaseTapChangerTabular.js +3 -0
- package/dist/model/wires/PhaseTapChangerTabular.js.map +1 -1
- package/dist/model/wires/Plant.js +1 -1
- package/dist/model/wires/Plant.js.map +1 -1
- package/dist/model/wires/PowerTransformer.d.ts +7 -5
- package/dist/model/wires/PowerTransformer.js +46 -45
- package/dist/model/wires/PowerTransformer.js.map +1 -1
- package/dist/model/wires/PowerTransformerEnd.d.ts +5 -4
- package/dist/model/wires/PowerTransformerEnd.js +50 -45
- package/dist/model/wires/PowerTransformerEnd.js.map +1 -1
- package/dist/model/wires/RatioTapChanger.d.ts +22 -0
- package/dist/model/wires/RatioTapChanger.js +30 -0
- package/dist/model/wires/RatioTapChanger.js.map +1 -1
- package/dist/model/wires/RatioTapChangerTable.d.ts +1 -0
- package/dist/model/wires/RatioTapChangerTable.js +4 -1
- package/dist/model/wires/RatioTapChangerTable.js.map +1 -1
- package/dist/model/wires/RatioTapChangerTablePoint.d.ts +1 -0
- package/dist/model/wires/RatioTapChangerTablePoint.js +3 -0
- package/dist/model/wires/RatioTapChangerTablePoint.js.map +1 -1
- package/dist/model/wires/ReactiveCapabilityCurve.d.ts +1 -0
- package/dist/model/wires/ReactiveCapabilityCurve.js +2 -1
- package/dist/model/wires/ReactiveCapabilityCurve.js.map +1 -1
- package/dist/model/wires/Recloser.js +9 -9
- package/dist/model/wires/Recloser.js.map +1 -1
- package/dist/model/wires/RegulatingCondEq.d.ts +3 -3
- package/dist/model/wires/RegulatingCondEq.js +5 -0
- package/dist/model/wires/RegulatingCondEq.js.map +1 -1
- package/dist/model/wires/RegulatingControl.d.ts +6 -4
- package/dist/model/wires/RegulatingControl.js +57 -35
- package/dist/model/wires/RegulatingControl.js.map +1 -1
- package/dist/model/wires/RotatingMachine.d.ts +3 -3
- package/dist/model/wires/RotatingMachine.js +18 -1
- package/dist/model/wires/RotatingMachine.js.map +1 -1
- package/dist/model/wires/SeriesCompensator.d.ts +5 -4
- package/dist/model/wires/SeriesCompensator.js +46 -39
- package/dist/model/wires/SeriesCompensator.js.map +1 -1
- package/dist/model/wires/ShuntCompensator.js +9 -0
- package/dist/model/wires/ShuntCompensator.js.map +1 -1
- package/dist/model/wires/StaticVarCompensator.d.ts +1 -0
- package/dist/model/wires/StaticVarCompensator.js +7 -0
- package/dist/model/wires/StaticVarCompensator.js.map +1 -1
- package/dist/model/wires/Switch.d.ts +6 -4
- package/dist/model/wires/Switch.js +58 -39
- package/dist/model/wires/Switch.js.map +1 -1
- package/dist/model/wires/SynchronousMachine.d.ts +5 -4
- package/dist/model/wires/SynchronousMachine.js +91 -60
- package/dist/model/wires/SynchronousMachine.js.map +1 -1
- package/dist/model/wires/TapChanger.js +16 -0
- package/dist/model/wires/TapChanger.js.map +1 -1
- package/dist/model/wires/TapChangerControl.js +1 -1
- package/dist/model/wires/TapChangerControl.js.map +1 -1
- package/dist/model/wires/TapChangerTablePoint.js +7 -0
- package/dist/model/wires/TapChangerTablePoint.js.map +1 -1
- package/dist/model/wires/TransformerEnd.d.ts +3 -3
- package/dist/model/wires/TransformerEnd.js +19 -0
- package/dist/model/wires/TransformerEnd.js.map +1 -1
- package/dist/model-container/enum/EVModelTypeKind.d.ts +4 -0
- package/dist/model-container/enum/EVModelTypeKind.js +9 -0
- package/dist/model-container/enum/EVModelTypeKind.js.map +1 -0
- package/dist/model-container/enum/EVObjectTypeKind.d.ts +143 -0
- package/dist/model-container/enum/EVObjectTypeKind.js +177 -0
- package/dist/model-container/enum/EVObjectTypeKind.js.map +1 -0
- package/dist/model-container/enum/EVOperationType.d.ts +4 -0
- package/dist/model-container/enum/EVOperationType.js +9 -0
- package/dist/model-container/enum/EVOperationType.js.map +1 -0
- package/dist/model-container/enum/EVSourceSystemKind.d.ts +8 -0
- package/dist/model-container/enum/EVSourceSystemKind.js +13 -0
- package/dist/model-container/enum/EVSourceSystemKind.js.map +1 -0
- package/dist/{model/extensions/amprion/model/AMPRIONModel.d.ts → model-container/model/AMPRIONModelContainer.d.ts} +35 -30
- package/dist/{model/extensions/amprion/model/AMPRIONModel.js → model-container/model/AMPRIONModelContainer.js} +49 -34
- package/dist/model-container/model/AMPRIONModelContainer.js.map +1 -0
- package/dist/model-container/model/EVModelContainer.d.ts +9 -0
- package/dist/model-container/model/EVModelContainer.js +29 -0
- package/dist/model-container/model/EVModelContainer.js.map +1 -0
- package/dist/model-container/model/EVModelsContainer.d.ts +51 -0
- package/dist/model-container/model/EVModelsContainer.js +268 -0
- package/dist/model-container/model/EVModelsContainer.js.map +1 -0
- package/dist/model-container/model/INTEGRALModelContainer.d.ts +14 -0
- package/dist/model-container/model/INTEGRALModelContainer.js +42 -0
- package/dist/model-container/model/INTEGRALModelContainer.js.map +1 -0
- package/dist/{model/model/Model.d.ts → model-container/model/ModelContainer.d.ts} +186 -94
- package/dist/model-container/model/ModelContainer.js +2254 -0
- package/dist/model-container/model/ModelContainer.js.map +1 -0
- package/dist/model-container/model/WNModelContainer.d.ts +12 -0
- package/dist/model-container/model/WNModelContainer.js +50 -0
- package/dist/model-container/model/WNModelContainer.js.map +1 -0
- package/dist/rdf/RdfBase.d.ts +10 -0
- package/dist/rdf/RdfBase.js +23 -0
- package/dist/rdf/RdfBase.js.map +1 -0
- package/dist/rdf/RdfClass.d.ts +20 -0
- package/dist/rdf/RdfClass.js +78 -0
- package/dist/rdf/RdfClass.js.map +1 -0
- package/dist/rdf/RdfEnum.d.ts +13 -0
- package/dist/rdf/RdfEnum.js +60 -0
- package/dist/rdf/RdfEnum.js.map +1 -0
- package/dist/rdf/RdfModel.d.ts +19 -0
- package/dist/rdf/RdfModel.js +64 -0
- package/dist/rdf/RdfModel.js.map +1 -0
- package/dist/rdf/RdfProperty.d.ts +20 -0
- package/dist/rdf/RdfProperty.js +84 -0
- package/dist/rdf/RdfProperty.js.map +1 -0
- package/dist/rdf/rdf-enums.d.ts +18 -0
- package/dist/rdf/rdf-enums.js +25 -0
- package/dist/rdf/rdf-enums.js.map +1 -0
- package/dist/rdf/rdf-interfaces.d.ts +4 -0
- package/dist/rdf/rdf-interfaces.js +3 -0
- package/dist/rdf/rdf-interfaces.js.map +1 -0
- package/dist/types/cim.types.d.ts +9 -0
- package/dist/types/cim.types.js +3 -0
- package/dist/types/cim.types.js.map +1 -0
- package/dist/util/collection/util-dot.js +1 -0
- package/dist/util/collection/util-dot.js.map +1 -1
- package/dist/util/collection/util-excel.d.ts +12 -0
- package/dist/util/collection/util-excel.js +20 -6
- package/dist/util/collection/util-excel.js.map +1 -1
- package/dist/util/collection/util-graph.d.ts +30 -0
- package/dist/util/collection/util-graph.js +51 -0
- package/dist/util/collection/util-graph.js.map +1 -1
- package/dist/util/collection/util-graph2tree.d.ts +21 -0
- package/dist/util/collection/util-graph2tree.js +87 -17
- package/dist/util/collection/util-graph2tree.js.map +1 -1
- package/dist/util/collection/util-tree.d.ts +13 -0
- package/dist/util/collection/util-tree.js +13 -0
- package/dist/util/collection/util-tree.js.map +1 -1
- package/dist/util/database/mysql-controller.js +7 -9
- package/dist/util/database/mysql-controller.js.map +1 -1
- package/dist/util/sparql/sparql-utils.d.ts +21 -0
- package/dist/util/sparql/sparql-utils.js +34 -10
- package/dist/util/sparql/sparql-utils.js.map +1 -1
- package/dist/util/util-create.d.ts +19 -12
- package/dist/util/util-create.js +17 -0
- package/dist/util/util-create.js.map +1 -1
- package/dist/util/util-search.d.ts +1 -0
- package/dist/util/util-search.js +15 -1
- package/dist/util/util-search.js.map +1 -1
- package/dist/util/util-test.d.ts +11 -9
- package/dist/util/util-test.js +171 -175
- package/dist/util/util-test.js.map +1 -1
- package/dist/util/util-topology.d.ts +16 -6
- package/dist/util/util-topology.js +25 -0
- package/dist/util/util-topology.js.map +1 -1
- package/dist/util/utils.d.ts +24 -6
- package/dist/util/utils.js +56 -21
- package/dist/util/utils.js.map +1 -1
- package/dist/util/xml/utils.parser.js +2 -2
- package/dist/util/xml/utils.parser.js.map +1 -1
- package/dist/util/xml/xml.parser.d.ts +2 -2
- package/dist/util/xml/xml.parser.js +9 -3
- package/dist/util/xml/xml.parser.js.map +1 -1
- package/dist/util/xml/xml.serializer.d.ts +5 -5
- package/dist/util/xml/xml.serializer.js +112 -14
- package/dist/util/xml/xml.serializer.js.map +1 -1
- package/dist/utils2/cim-to-db.d.ts +11 -0
- package/dist/utils2/cim-to-db.js +46 -0
- package/dist/utils2/cim-to-db.js.map +1 -0
- package/dist/utils2/cim.model.utils.d.ts +25 -0
- package/dist/utils2/cim.model.utils.js +428 -0
- package/dist/utils2/cim.model.utils.js.map +1 -0
- package/dist/utils2/common.utils.d.ts +33 -0
- package/dist/utils2/common.utils.js +89 -0
- package/dist/utils2/common.utils.js.map +1 -0
- package/dist/utils2/fuseki.utils.d.ts +43 -0
- package/dist/utils2/fuseki.utils.js +66 -0
- package/dist/utils2/fuseki.utils.js.map +1 -0
- package/dist/utils2/import.utils.d.ts +7 -0
- package/dist/utils2/import.utils.js +40 -0
- package/dist/utils2/import.utils.js.map +1 -0
- package/dist/utils2/model.modification.utils.d.ts +139 -0
- package/dist/utils2/model.modification.utils.js +545 -0
- package/dist/utils2/model.modification.utils.js.map +1 -0
- package/dist/utils2/parser.utils.d.ts +15 -0
- package/dist/utils2/parser.utils.js +141 -0
- package/dist/utils2/parser.utils.js.map +1 -0
- package/dist/utils2/rdf.model.utils.d.ts +7 -0
- package/dist/utils2/rdf.model.utils.js +33 -0
- package/dist/utils2/rdf.model.utils.js.map +1 -0
- package/dist/utils2/sparql.utils.d.ts +40 -0
- package/dist/utils2/sparql.utils.js +330 -0
- package/dist/utils2/sparql.utils.js.map +1 -0
- package/package.json +24 -29
- package/dist/config/config.utils.d.ts +0 -1
- package/dist/config/config.utils.js +0 -38
- package/dist/config/config.utils.js.map +0 -1
- package/dist/config/default/default-load.config.d.ts +0 -1
- package/dist/config/default/default-load.config.js +0 -43
- package/dist/config/default/default-load.config.js.map +0 -1
- package/dist/config/lew-sincal/lew-sincal-load.config.d.ts +0 -1
- package/dist/config/lew-sincal/lew-sincal-load.config.js +0 -46
- package/dist/config/lew-sincal/lew-sincal-load.config.js.map +0 -1
- package/dist/config/power-system-datamodel/psdm-load.config.d.ts +0 -1
- package/dist/config/power-system-datamodel/psdm-load.config.js +0 -48
- package/dist/config/power-system-datamodel/psdm-load.config.js.map +0 -1
- package/dist/config/westnetz-integral7/integral7-load.config.d.ts +0 -1
- package/dist/config/westnetz-integral7/integral7-load.config.js +0 -47
- package/dist/config/westnetz-integral7/integral7-load.config.js.map +0 -1
- package/dist/config/westnetz-neplan/neplan-load.config.d.ts +0 -2
- package/dist/config/westnetz-neplan/neplan-load.config.js +0 -98
- package/dist/config/westnetz-neplan/neplan-load.config.js.map +0 -1
- package/dist/constants/cim-class-definition.d.ts +0 -1
- package/dist/constants/cim-class-definition.js +0 -220
- package/dist/constants/cim-class-definition.js.map +0 -1
- package/dist/constants/cim.sourcesystem.d.ts +0 -6
- package/dist/constants/cim.sourcesystem.js +0 -11
- package/dist/constants/cim.sourcesystem.js.map +0 -1
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.d.ts +0 -1
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js +0 -59
- package/dist/constants/init-data/ASSET_HEALTH_EVENTS.js.map +0 -1
- package/dist/constants/init-data/ASSSET_OWNER.d.ts +0 -1
- package/dist/constants/init-data/ASSSET_OWNER.js +0 -24
- package/dist/constants/init-data/ASSSET_OWNER.js.map +0 -1
- package/dist/constants/init-data/JENA_SPARQL.d.ts +0 -11
- package/dist/constants/init-data/JENA_SPARQL.js +0 -328
- package/dist/constants/init-data/JENA_SPARQL.js.map +0 -1
- package/dist/constants/init-data/PSR_TYPES.d.ts +0 -1
- package/dist/constants/init-data/PSR_TYPES.js +0 -103
- package/dist/constants/init-data/PSR_TYPES.js.map +0 -1
- package/dist/constants/init-data/RZ.d.ts +0 -1
- package/dist/constants/init-data/RZ.js +0 -61
- package/dist/constants/init-data/RZ.js.map +0 -1
- package/dist/constants/init-data/xml/settings.d.ts +0 -1
- package/dist/constants/init-data/xml/settings.js +0 -70
- package/dist/constants/init-data/xml/settings.js.map +0 -1
- package/dist/constants/util-init.d.ts +0 -1
- package/dist/constants/util-init.js +0 -17
- package/dist/constants/util-init.js.map +0 -1
- package/dist/converter/integral7/ConverterIntegral7.d.ts +0 -200
- package/dist/converter/integral7/ConverterIntegral7.js +0 -4096
- package/dist/converter/integral7/ConverterIntegral7.js.map +0 -1
- package/dist/converter/integral7/converter-i7.d.ts +0 -165
- package/dist/converter/integral7/converter-i7.js +0 -4632
- package/dist/converter/integral7/converter-i7.js.map +0 -1
- package/dist/model/extensions/amprion/model/AMPRIONModel.js.map +0 -1
- package/dist/model/extensions/enervance/model/EVModel.d.ts +0 -11
- package/dist/model/extensions/enervance/model/EVModel.js +0 -45
- package/dist/model/extensions/enervance/model/EVModel.js.map +0 -1
- package/dist/model/extensions/integral/model/INTEGRALModel.d.ts +0 -8
- package/dist/model/extensions/integral/model/INTEGRALModel.js +0 -19
- package/dist/model/extensions/integral/model/INTEGRALModel.js.map +0 -1
- package/dist/model/model/Model.js +0 -1216
- package/dist/model/model/Model.js.map +0 -1
- package/dist/util/cim.model.util.d.ts +0 -4
- package/dist/util/cim.model.util.js +0 -257
- package/dist/util/cim.model.util.js.map +0 -1
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CimModelUtils = void 0;
|
|
4
|
+
const cim_class_names_1 = require("../constants/cim-class-names");
|
|
5
|
+
const BaseVoltage_1 = require("../model/core/BaseVoltage");
|
|
6
|
+
const PSRType_1 = require("../model/core/PSRType");
|
|
7
|
+
const Substation_1 = require("../model/core/Substation");
|
|
8
|
+
const VoltageLevel_1 = require("../model/core/VoltageLevel");
|
|
9
|
+
const Bay_1 = require("../model/core/Bay");
|
|
10
|
+
const Line_1 = require("../model/wires/Line");
|
|
11
|
+
const Feeder_1 = require("../model/core/Feeder");
|
|
12
|
+
const ACLineSegment_1 = require("../model/wires/ACLineSegment");
|
|
13
|
+
const EVACLineSegment_1 = require("../model/extensions/enervance/wires/EVACLineSegment");
|
|
14
|
+
const EVACLineSubSegment_1 = require("../model/extensions/enervance/wires/EVACLineSubSegment");
|
|
15
|
+
const PowerTransformer_1 = require("../model/wires/PowerTransformer");
|
|
16
|
+
const PowerTransformerEnd_1 = require("../model/wires/PowerTransformerEnd");
|
|
17
|
+
const BusbarSection_1 = require("../model/wires/BusbarSection");
|
|
18
|
+
const Junction_1 = require("../model/wires/Junction");
|
|
19
|
+
const Ground_1 = require("../model/wires/Ground");
|
|
20
|
+
const GroundDisconnector_1 = require("../model/wires/GroundDisconnector");
|
|
21
|
+
const Disconnector_1 = require("../model/wires/Disconnector");
|
|
22
|
+
const Switch_1 = require("../model/wires/Switch");
|
|
23
|
+
const Breaker_1 = require("../model/wires/Breaker");
|
|
24
|
+
const LoadBreakSwitch_1 = require("../model/wires/LoadBreakSwitch");
|
|
25
|
+
const Recloser_1 = require("../model/wires/Recloser");
|
|
26
|
+
const SeriesCompensator_1 = require("../model/wires/SeriesCompensator");
|
|
27
|
+
const Clamp_1 = require("../model/wires/Clamp");
|
|
28
|
+
const EnergySource_1 = require("../model/wires/EnergySource");
|
|
29
|
+
const EnergyConsumer_1 = require("../model/wires/EnergyConsumer");
|
|
30
|
+
const LoadArea_1 = require("../model/loadmodel/LoadArea");
|
|
31
|
+
const SubLoadArea_1 = require("../model/loadmodel/SubLoadArea");
|
|
32
|
+
const ConformLoadGroup_1 = require("../model/loadmodel/ConformLoadGroup");
|
|
33
|
+
const ConformLoad_1 = require("../model/loadmodel/ConformLoad");
|
|
34
|
+
const ExternalNetworkInjection_1 = require("../model/wires/ExternalNetworkInjection");
|
|
35
|
+
const RegulatingControl_1 = require("../model/wires/RegulatingControl");
|
|
36
|
+
const SynchronousMachine_1 = require("../model/wires/SynchronousMachine");
|
|
37
|
+
const GeneratingUnit_1 = require("../model/generation/GeneratingUnit");
|
|
38
|
+
const ShuntCompensator_1 = require("../model/wires/ShuntCompensator");
|
|
39
|
+
const LinearShuntCompensator_1 = require("../model/wires/LinearShuntCompensator");
|
|
40
|
+
const OperationalLimitSet_1 = require("../model/operationallimits/OperationalLimitSet");
|
|
41
|
+
const OperationalLimitType_1 = require("../model/operationallimits/OperationalLimitType");
|
|
42
|
+
const CurrentLimit_1 = require("../model/operationallimits/CurrentLimit");
|
|
43
|
+
const ConnectivityNode_1 = require("../model/core/ConnectivityNode");
|
|
44
|
+
const Terminal_1 = require("../model/core/Terminal");
|
|
45
|
+
const TopologicalIsland_1 = require("../model/topology/TopologicalIsland");
|
|
46
|
+
const TopologicalNode_1 = require("../model/topology/TopologicalNode");
|
|
47
|
+
const SvPowerFlow_1 = require("../model/statevariables/SvPowerFlow");
|
|
48
|
+
const SvVoltage_1 = require("../model/statevariables/SvVoltage");
|
|
49
|
+
const Diagram_1 = require("../model/diagram/Diagram");
|
|
50
|
+
const DiagramObject_1 = require("../model/diagram/DiagramObject");
|
|
51
|
+
const DiagramObjectPoint_1 = require("../model/diagram/DiagramObjectPoint");
|
|
52
|
+
const CoordinateSystem_1 = require("../model/common/CoordinateSystem");
|
|
53
|
+
const Location_1 = require("../model/common/Location");
|
|
54
|
+
const WNLocation_1 = require("../model/extensions/neplan-westnetz/common/WNLocation");
|
|
55
|
+
const PositionPoint_1 = require("../model/common/PositionPoint");
|
|
56
|
+
const Asset_1 = require("../model/assets/Asset");
|
|
57
|
+
const Facility_1 = require("../model/assets/Facility");
|
|
58
|
+
const AssetDeployment_1 = require("../model/assets/AssetDeployment");
|
|
59
|
+
const AssetHealthEvent_1 = require("../model/assets/AssetHealthEvent");
|
|
60
|
+
const HealthScore_1 = require("../model/assets/HealthScore");
|
|
61
|
+
const AssetOwner_1 = require("../model/assets/AssetOwner");
|
|
62
|
+
const AssetUser_1 = require("../model/assets/AssetUser");
|
|
63
|
+
const WNOutage_1 = require("../model/extensions/neplan-westnetz/operations/WNOutage");
|
|
64
|
+
const WNFaultConnectivityNode_1 = require("../model/extensions/neplan-westnetz/faults/WNFaultConnectivityNode");
|
|
65
|
+
const EVModelContainer_1 = require("../model-container/model/EVModelContainer");
|
|
66
|
+
const SwitchingPlan_1 = require("../model/operations/SwitchingPlan");
|
|
67
|
+
const EVTerminalAction_1 = require("../model/extensions/enervance/operations/EVTerminalAction");
|
|
68
|
+
const SwitchAction_1 = require("../model/operations/SwitchAction");
|
|
69
|
+
const EVWireObject_1 = require("../model/extensions/enervance/assets/EVWireObject");
|
|
70
|
+
const EVWireInfo_1 = require("../model/extensions/enervance/assetinfo/EVWireInfo");
|
|
71
|
+
const EVStationInfo_1 = require("../model/extensions/enervance/assetinfo/EVStationInfo");
|
|
72
|
+
const SwitchInfo_1 = require("../model/assetinfo/SwitchInfo");
|
|
73
|
+
const EVIndicator_1 = require("../model/extensions/enervance/assets/EVIndicator");
|
|
74
|
+
const EVPowerTransformerInfo_1 = require("../model/extensions/enervance/assetinfo/EVPowerTransformerInfo");
|
|
75
|
+
const EVPowerTransformerEndInfo_1 = require("../model/extensions/enervance/assetinfo/EVPowerTransformerEndInfo");
|
|
76
|
+
const EVTapChangerInfo_1 = require("../model/extensions/enervance/assetinfo/EVTapChangerInfo");
|
|
77
|
+
const WNWireInfo_1 = require("../model/extensions/neplan-westnetz/assets/WNWireInfo");
|
|
78
|
+
const EVTerminal_1 = require("../model/extensions/enervance/core/EVTerminal");
|
|
79
|
+
const WNConnectivityNode_1 = require("../model/extensions/neplan-westnetz/core/WNConnectivityNode");
|
|
80
|
+
const WNFacility_1 = require("../model/extensions/neplan-westnetz/assets/WNFacility");
|
|
81
|
+
const WNFeeder_1 = require("../model/extensions/neplan-westnetz/core/WNFeeder");
|
|
82
|
+
const WNEnergyConsumer_1 = require("../model/extensions/neplan-westnetz/wires/WNEnergyConsumer");
|
|
83
|
+
const AMPRIONSubstation_1 = require("../model/extensions/amprion/core/AMPRIONSubstation");
|
|
84
|
+
const AMPRIONBay_1 = require("../model/extensions/amprion/core/AMPRIONBay");
|
|
85
|
+
const AMPRIONConstructionContainer_1 = require("../model/extensions/amprion/assets/AMPRIONConstructionContainer");
|
|
86
|
+
const AMPRIONSpanField_1 = require("../model/extensions/amprion/assets/AMPRIONSpanField");
|
|
87
|
+
const AMPRIONTower_1 = require("../model/extensions/amprion/assets/AMPRIONTower");
|
|
88
|
+
const AMPRIONFacility_1 = require("../model/extensions/amprion/assets/AMPRIONFacility");
|
|
89
|
+
const AMPRIONWire_1 = require("../model/extensions/amprion/assets/AMPRIONWire");
|
|
90
|
+
const AMPRIONACLineSegment_1 = require("../model/extensions/amprion/wires/AMPRIONACLineSegment");
|
|
91
|
+
const AMPRIONConstructionProject_1 = require("../model/extensions/amprion/project/AMPRIONConstructionProject");
|
|
92
|
+
const AMPRIONErpProjectPhase_1 = require("../model/extensions/amprion/project/AMPRIONErpProjectPhase");
|
|
93
|
+
const AMPRIONConstructionProjectBundle_1 = require("../model/extensions/amprion/project/AMPRIONConstructionProjectBundle");
|
|
94
|
+
const AMPRIONConstructionProjectPlan_1 = require("../model/extensions/amprion/project/AMPRIONConstructionProjectPlan");
|
|
95
|
+
const AMPRIONErpProject_1 = require("../model/extensions/amprion/project/AMPRIONErpProject");
|
|
96
|
+
const AMPRIONErpProjectStructure_1 = require("../model/extensions/amprion/project/AMPRIONErpProjectStructure");
|
|
97
|
+
const AMPRIONTeam_1 = require("../model/extensions/amprion/assets/AMPRIONTeam");
|
|
98
|
+
const AMPRIONLineDistrict_1 = require("../model/extensions/amprion/assets/AMPRIONLineDistrict");
|
|
99
|
+
const AMPRIONAssetPrimaryEquipment_1 = require("../model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment");
|
|
100
|
+
const AMPRIONAssetSecondaryEquipment_1 = require("../model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment");
|
|
101
|
+
const AMPRIONAssetConstructionMaintenance_1 = require("../model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance");
|
|
102
|
+
const AMPRIONAssetCommunicationEquipment_1 = require("../model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment");
|
|
103
|
+
const AMPRIONLeaseholder_1 = require("../model/extensions/amprion/assets/AMPRIONLeaseholder");
|
|
104
|
+
const AMPRIONServiceProvider_1 = require("../model/extensions/amprion/assets/AMPRIONServiceProvider");
|
|
105
|
+
const AMPRIONContractingAuthority_1 = require("../model/extensions/amprion/assets/AMPRIONContractingAuthority");
|
|
106
|
+
const AMPRIONCountry_1 = require("../model/extensions/amprion/assets/AMPRIONCountry");
|
|
107
|
+
const AMPRIONState_1 = require("../model/extensions/amprion/assets/AMPRIONState");
|
|
108
|
+
const EVDiagram_1 = require("../model/extensions/enervance/diagram/EVDiagram");
|
|
109
|
+
const RdfClass_1 = require("../rdf/RdfClass");
|
|
110
|
+
const RdfProperty_1 = require("../rdf/RdfProperty");
|
|
111
|
+
const ChangeSet_1 = require("../model/generic-data-set/ChangeSet");
|
|
112
|
+
const ObjectCreation_1 = require("../model/generic-data-set/ObjectCreation");
|
|
113
|
+
const ObjectDeletion_1 = require("../model/generic-data-set/ObjectDeletion");
|
|
114
|
+
const ObjectModification_1 = require("../model/generic-data-set/ObjectModification");
|
|
115
|
+
const ObjectReverseModification_1 = require("../model/generic-data-set/ObjectReverseModification");
|
|
116
|
+
const ModelOperationDescription_1 = require("../model/model-operations/ModelOperationDescription");
|
|
117
|
+
const IncrementalDatasetArgDescription_1 = require("../model/model-operations/IncrementalDatasetArgDescription");
|
|
118
|
+
const IncrementalDatasetArg_1 = require("../model/model-operations/IncrementalDatasetArg");
|
|
119
|
+
const ModelOperation_1 = require("../model/model-operations/ModelOperation");
|
|
120
|
+
const ModelContainer_1 = require("../model-container/model/ModelContainer");
|
|
121
|
+
const WNModelContainer_1 = require("../model-container/model/WNModelContainer");
|
|
122
|
+
const AMPRIONModelContainer_1 = require("../model-container/model/AMPRIONModelContainer");
|
|
123
|
+
const INTEGRALModelContainer_1 = require("../model-container/model/INTEGRALModelContainer");
|
|
124
|
+
const Model_1 = require("../model/model-description/Model");
|
|
125
|
+
const FullModel_1 = require("../model/model-description/FullModel");
|
|
126
|
+
const RdfEnum_1 = require("../rdf/RdfEnum");
|
|
127
|
+
const EVModelsContainer_1 = require("../model-container/model/EVModelsContainer");
|
|
128
|
+
const VoltageLimit_1 = require("../model/operationallimits/VoltageLimit");
|
|
129
|
+
const EVSourceSystemKind_1 = require("../model-container/enum/EVSourceSystemKind");
|
|
130
|
+
const EVMetaObject_1 = require("../model/extensions/enervance/generic-data-set/EVMetaObject");
|
|
131
|
+
const parser_utils_1 = require("./parser.utils");
|
|
132
|
+
const load_confings_1 = require("../config/load.confings");
|
|
133
|
+
const fuseki_utils_1 = require("./fuseki.utils");
|
|
134
|
+
const AggregateScore_1 = require("../model/assets/AggregateScore");
|
|
135
|
+
const WNZUWOHealthScore_1 = require("../model/extensions/neplan-westnetz/assets/WNZUWOHealthScore");
|
|
136
|
+
const WNZUWOPriority_1 = require("../model/extensions/neplan-westnetz/assets/WNZUWOPriority");
|
|
137
|
+
const WNZUWOImportanceScore_1 = require("../model/extensions/neplan-westnetz/assets/WNZUWOImportanceScore");
|
|
138
|
+
class CimModelUtils {
|
|
139
|
+
/**
|
|
140
|
+
* Erstellt eine Map mit Klassendefinitionen
|
|
141
|
+
* */
|
|
142
|
+
static getClassDefinitions() {
|
|
143
|
+
const map = new Map();
|
|
144
|
+
map.set(cim_class_names_1.ClassNames.BaseVoltage, BaseVoltage_1.BaseVoltage);
|
|
145
|
+
map.set(cim_class_names_1.ClassNames.PSRType, PSRType_1.PSRType);
|
|
146
|
+
//EQ
|
|
147
|
+
map.set(cim_class_names_1.ClassNames.Substation, Substation_1.Substation);
|
|
148
|
+
map.set(cim_class_names_1.ClassNames.VoltageLevel, VoltageLevel_1.VoltageLevel);
|
|
149
|
+
map.set(cim_class_names_1.ClassNames.Bay, Bay_1.Bay);
|
|
150
|
+
map.set(cim_class_names_1.ClassNames.Line, Line_1.Line);
|
|
151
|
+
map.set(cim_class_names_1.ClassNames.Feeder, Feeder_1.Feeder);
|
|
152
|
+
//ConductingEquipment
|
|
153
|
+
map.set(cim_class_names_1.ClassNames.ACLineSegment, ACLineSegment_1.ACLineSegment);
|
|
154
|
+
map.set(cim_class_names_1.ClassNames.EVACLineSegment, EVACLineSegment_1.EVACLineSegment);
|
|
155
|
+
map.set(cim_class_names_1.ClassNames.EVACLineSubSegment, EVACLineSubSegment_1.EVACLineSubSegment);
|
|
156
|
+
map.set(cim_class_names_1.ClassNames.PowerTransformer, PowerTransformer_1.PowerTransformer);
|
|
157
|
+
map.set(cim_class_names_1.ClassNames.PowerTransformerEnd, PowerTransformerEnd_1.PowerTransformerEnd);
|
|
158
|
+
map.set(cim_class_names_1.ClassNames.BusbarSection, BusbarSection_1.BusbarSection);
|
|
159
|
+
map.set(cim_class_names_1.ClassNames.Junction, Junction_1.Junction);
|
|
160
|
+
map.set(cim_class_names_1.ClassNames.Ground, Ground_1.Ground);
|
|
161
|
+
map.set(cim_class_names_1.ClassNames.GroundDisconnector, GroundDisconnector_1.GroundDisconnector);
|
|
162
|
+
map.set(cim_class_names_1.ClassNames.Disconnector, Disconnector_1.Disconnector);
|
|
163
|
+
map.set(cim_class_names_1.ClassNames.Switch, Switch_1.Switch);
|
|
164
|
+
map.set(cim_class_names_1.ClassNames.Breaker, Breaker_1.Breaker);
|
|
165
|
+
map.set(cim_class_names_1.ClassNames.LoadBreakSwitch, LoadBreakSwitch_1.LoadBreakSwitch);
|
|
166
|
+
map.set(cim_class_names_1.ClassNames.Recloser, Recloser_1.Recloser);
|
|
167
|
+
map.set(cim_class_names_1.ClassNames.SeriesCompensator, SeriesCompensator_1.SeriesCompensator);
|
|
168
|
+
map.set(cim_class_names_1.ClassNames.Clamp, Clamp_1.Clamp);
|
|
169
|
+
map.set(cim_class_names_1.ClassNames.EnergySource, EnergySource_1.EnergySource);
|
|
170
|
+
map.set(cim_class_names_1.ClassNames.EnergyConsumer, EnergyConsumer_1.EnergyConsumer);
|
|
171
|
+
//LoadModel
|
|
172
|
+
map.set(cim_class_names_1.ClassNames.LoadArea, LoadArea_1.LoadArea);
|
|
173
|
+
map.set(cim_class_names_1.ClassNames.SubLoadArea, SubLoadArea_1.SubLoadArea);
|
|
174
|
+
map.set(cim_class_names_1.ClassNames.ConformLoadGroup, ConformLoadGroup_1.ConformLoadGroup);
|
|
175
|
+
map.set(cim_class_names_1.ClassNames.ConformLoad, ConformLoad_1.ConformLoad);
|
|
176
|
+
//RegulatingConductingEquipment
|
|
177
|
+
map.set(cim_class_names_1.ClassNames.ExternalNetworkInjection, ExternalNetworkInjection_1.ExternalNetworkInjection);
|
|
178
|
+
map.set(cim_class_names_1.ClassNames.RegulatingControl, RegulatingControl_1.RegulatingControl);
|
|
179
|
+
map.set(cim_class_names_1.ClassNames.SynchronousMachine, SynchronousMachine_1.SynchronousMachine);
|
|
180
|
+
map.set(cim_class_names_1.ClassNames.GeneratingUnit, GeneratingUnit_1.GeneratingUnit);
|
|
181
|
+
//ShuntCompensator
|
|
182
|
+
map.set(cim_class_names_1.ClassNames.ShuntCompensator, ShuntCompensator_1.ShuntCompensator);
|
|
183
|
+
map.set(cim_class_names_1.ClassNames.LinearShuntCompensator, LinearShuntCompensator_1.LinearShuntCompensator);
|
|
184
|
+
//OperationalLimits
|
|
185
|
+
map.set(cim_class_names_1.ClassNames.OperationalLimitSet, OperationalLimitSet_1.OperationalLimitSet);
|
|
186
|
+
map.set(cim_class_names_1.ClassNames.OperationalLimitType, OperationalLimitType_1.OperationalLimitType);
|
|
187
|
+
map.set(cim_class_names_1.ClassNames.CurrentLimit, CurrentLimit_1.CurrentLimit);
|
|
188
|
+
map.set(cim_class_names_1.ClassNames.VoltageLimit, VoltageLimit_1.VoltageLimit);
|
|
189
|
+
//Topology
|
|
190
|
+
map.set(cim_class_names_1.ClassNames.ConnectivityNode, ConnectivityNode_1.ConnectivityNode);
|
|
191
|
+
map.set(cim_class_names_1.ClassNames.Terminal, Terminal_1.Terminal);
|
|
192
|
+
map.set(cim_class_names_1.ClassNames.TopologicalIsland, TopologicalIsland_1.TopologicalIsland);
|
|
193
|
+
map.set(cim_class_names_1.ClassNames.TopologicalNode, TopologicalNode_1.TopologicalNode);
|
|
194
|
+
//SV
|
|
195
|
+
map.set(cim_class_names_1.ClassNames.SvPowerFlow, SvPowerFlow_1.SvPowerFlow);
|
|
196
|
+
map.set(cim_class_names_1.ClassNames.SvVoltage, SvVoltage_1.SvVoltage);
|
|
197
|
+
//Diagram
|
|
198
|
+
map.set(cim_class_names_1.ClassNames.Diagram, Diagram_1.Diagram);
|
|
199
|
+
map.set(cim_class_names_1.ClassNames.EVDiagram, EVDiagram_1.EVDiagram);
|
|
200
|
+
map.set(cim_class_names_1.ClassNames.DiagramObject, DiagramObject_1.DiagramObject);
|
|
201
|
+
map.set(cim_class_names_1.ClassNames.DiagramObjectPoint, DiagramObjectPoint_1.DiagramObjectPoint);
|
|
202
|
+
//Geo
|
|
203
|
+
map.set(cim_class_names_1.ClassNames.CoordinateSystem, CoordinateSystem_1.CoordinateSystem);
|
|
204
|
+
map.set(cim_class_names_1.ClassNames.Location, Location_1.Location);
|
|
205
|
+
map.set(cim_class_names_1.ClassNames.WNLocation, WNLocation_1.WNLocation);
|
|
206
|
+
map.set(cim_class_names_1.ClassNames.PositionPoint, PositionPoint_1.PositionPoint);
|
|
207
|
+
//Assets
|
|
208
|
+
map.set(cim_class_names_1.ClassNames.Asset, Asset_1.Asset);
|
|
209
|
+
map.set(cim_class_names_1.ClassNames.Facility, Facility_1.Facility);
|
|
210
|
+
map.set(cim_class_names_1.ClassNames.AssetDeployment, AssetDeployment_1.AssetDeployment);
|
|
211
|
+
map.set(cim_class_names_1.ClassNames.AssetHealthEvent, AssetHealthEvent_1.AssetHealthEvent);
|
|
212
|
+
//Analytics
|
|
213
|
+
map.set(cim_class_names_1.ClassNames.HealthScore, HealthScore_1.HealthScore);
|
|
214
|
+
map.set(cim_class_names_1.ClassNames.AggregateScore, AggregateScore_1.AggregateScore);
|
|
215
|
+
// Roles
|
|
216
|
+
map.set(cim_class_names_1.ClassNames.AssetOwner, AssetOwner_1.AssetOwner);
|
|
217
|
+
map.set(cim_class_names_1.ClassNames.AssetUser, AssetUser_1.AssetUser);
|
|
218
|
+
// Outages Faults
|
|
219
|
+
map.set(cim_class_names_1.ClassNames.WNOutage, WNOutage_1.WNOutage);
|
|
220
|
+
map.set(cim_class_names_1.ClassNames.WNFaultConnectivityNode, WNFaultConnectivityNode_1.WNFaultConnectivityNode);
|
|
221
|
+
// Enervance Erweiterungen
|
|
222
|
+
// Switching Actions
|
|
223
|
+
map.set(cim_class_names_1.ClassNames.EVModelsContainer, EVModelContainer_1.EVModelContainer);
|
|
224
|
+
map.set(cim_class_names_1.ClassNames.SwitchingPlan, SwitchingPlan_1.SwitchingPlan);
|
|
225
|
+
map.set(cim_class_names_1.ClassNames.EVTerminalAction, EVTerminalAction_1.EVTerminalAction);
|
|
226
|
+
map.set(cim_class_names_1.ClassNames.SwitchAction, SwitchAction_1.SwitchAction);
|
|
227
|
+
map.set(cim_class_names_1.ClassNames.EVWireObject, EVWireObject_1.EVWireObject);
|
|
228
|
+
map.set(cim_class_names_1.ClassNames.EVWireInfo, EVWireInfo_1.EVWireInfo);
|
|
229
|
+
map.set(cim_class_names_1.ClassNames.EVStationInfo, EVStationInfo_1.EVStationInfo);
|
|
230
|
+
map.set(cim_class_names_1.ClassNames.SwitchInfo, SwitchInfo_1.SwitchInfo);
|
|
231
|
+
map.set(cim_class_names_1.ClassNames.EVIndicator, EVIndicator_1.EVIndicator);
|
|
232
|
+
// AssetInfo
|
|
233
|
+
map.set(cim_class_names_1.ClassNames.EVPowerTransformerInfo, EVPowerTransformerInfo_1.EVPowerTransformerInfo);
|
|
234
|
+
map.set(cim_class_names_1.ClassNames.EVPowerTransformerEndInfo, EVPowerTransformerEndInfo_1.EVPowerTransformerEndInfo);
|
|
235
|
+
map.set(cim_class_names_1.ClassNames.EVTapChangerInfo, EVTapChangerInfo_1.EVTapChangerInfo);
|
|
236
|
+
map.set(cim_class_names_1.ClassNames.WNWireInfo, WNWireInfo_1.WNWireInfo);
|
|
237
|
+
map.set(cim_class_names_1.ClassNames.WNZUWOHealthScore, WNZUWOHealthScore_1.WNZUWOHealthScore);
|
|
238
|
+
map.set(cim_class_names_1.ClassNames.WNZUWOImportanceScore, WNZUWOImportanceScore_1.WNZUWOImportanceScore);
|
|
239
|
+
map.set(cim_class_names_1.ClassNames.WNZUWOPriority, WNZUWOPriority_1.WNZUWOPriority);
|
|
240
|
+
// Core
|
|
241
|
+
map.set(cim_class_names_1.ClassNames.EVTerminal, EVTerminal_1.EVTerminal);
|
|
242
|
+
// Neplan Erweiterungen
|
|
243
|
+
map.set(cim_class_names_1.ClassNames.WNConnectivityNode, WNConnectivityNode_1.WNConnectivityNode);
|
|
244
|
+
map.set(cim_class_names_1.ClassNames.WNFacility, WNFacility_1.WNFacility);
|
|
245
|
+
map.set(cim_class_names_1.ClassNames.WNFeeder, WNFeeder_1.WNFeeder);
|
|
246
|
+
map.set(cim_class_names_1.ClassNames.WNEnergyConsumer, WNEnergyConsumer_1.WNEnergyConsumer);
|
|
247
|
+
//Amprion
|
|
248
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONSubstation, AMPRIONSubstation_1.AMPRIONSubstation);
|
|
249
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONBay, AMPRIONBay_1.AMPRIONBay);
|
|
250
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONConstructionContainer, AMPRIONConstructionContainer_1.AMPRIONConstructionContainer);
|
|
251
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONSpanField, AMPRIONSpanField_1.AMPRIONSpanField);
|
|
252
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONTower, AMPRIONTower_1.AMPRIONTower);
|
|
253
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONWire, AMPRIONWire_1.AMPRIONWire);
|
|
254
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONFacility, AMPRIONFacility_1.AMPRIONFacility);
|
|
255
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONACLineSegment, AMPRIONACLineSegment_1.AMPRIONACLineSegment);
|
|
256
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONConstructionProject, AMPRIONConstructionProject_1.AMPRIONConstructionProject);
|
|
257
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONErpProjectPhase, AMPRIONErpProjectPhase_1.AMPRIONErpProjectPhase);
|
|
258
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONConstructionProjectBundle, AMPRIONConstructionProjectBundle_1.AMPRIONConstructionProjectBundle);
|
|
259
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONConstructionProjectPlan, AMPRIONConstructionProjectPlan_1.AMPRIONConstructionProjectPlan);
|
|
260
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONErpProject, AMPRIONErpProject_1.AMPRIONErpProject);
|
|
261
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONErpProjectStructure, AMPRIONErpProjectStructure_1.AMPRIONErpProjectStructure);
|
|
262
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONTeam, AMPRIONTeam_1.AMPRIONTeam);
|
|
263
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONLineDistrict, AMPRIONLineDistrict_1.AMPRIONLineDistrict);
|
|
264
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONAssetPrimaryEquipment, AMPRIONAssetPrimaryEquipment_1.AMPRIONAssetPrimaryEquipment);
|
|
265
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONAssetSecondaryEquipment, AMPRIONAssetSecondaryEquipment_1.AMPRIONAssetSecondaryEquipment);
|
|
266
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONAssetConstructionMaintenance, AMPRIONAssetConstructionMaintenance_1.AMPRIONAssetConstructionMaintenance);
|
|
267
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONAssetCommunicationEquipment, AMPRIONAssetCommunicationEquipment_1.AMPRIONAssetCommunicationEquipment);
|
|
268
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONLeaseholder, AMPRIONLeaseholder_1.AMPRIONLeaseholder);
|
|
269
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONServiceProvider, AMPRIONServiceProvider_1.AMPRIONServiceProvider);
|
|
270
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONContractingAuthority, AMPRIONContractingAuthority_1.AMPRIONContractingAuthority);
|
|
271
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONCountry, AMPRIONCountry_1.AMPRIONCountry);
|
|
272
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONState, AMPRIONState_1.AMPRIONState);
|
|
273
|
+
map.set(cim_class_names_1.ClassNames.ChangeSet, ChangeSet_1.ChangeSet);
|
|
274
|
+
map.set(cim_class_names_1.ClassNames.ObjectCreation, ObjectCreation_1.ObjectCreation);
|
|
275
|
+
map.set(cim_class_names_1.ClassNames.ObjectDeletion, ObjectDeletion_1.ObjectDeletion);
|
|
276
|
+
map.set(cim_class_names_1.ClassNames.ObjectModification, ObjectModification_1.ObjectModification);
|
|
277
|
+
map.set(cim_class_names_1.ClassNames.ObjectReverseModification, ObjectReverseModification_1.ObjectReverseModification);
|
|
278
|
+
map.set(cim_class_names_1.ClassNames.EVMetaObject, EVMetaObject_1.EVMetaObject);
|
|
279
|
+
map.set(cim_class_names_1.ClassNames.ModelOperationDescription, ModelOperationDescription_1.ModelOperationDescription);
|
|
280
|
+
map.set(cim_class_names_1.ClassNames.ModelOperation, ModelOperation_1.ModelOperation);
|
|
281
|
+
map.set(cim_class_names_1.ClassNames.IncrementalDatasetArgDescription, IncrementalDatasetArgDescription_1.IncrementalDatasetArgDescription);
|
|
282
|
+
map.set(cim_class_names_1.ClassNames.IncrementalDatasetArg, IncrementalDatasetArg_1.IncrementalDatasetArg);
|
|
283
|
+
map.set(cim_class_names_1.ClassNames.EVModelsContainer, EVModelsContainer_1.EVModelsContainer);
|
|
284
|
+
map.set(cim_class_names_1.ClassNames.ModelContainer, ModelContainer_1.ModelContainer);
|
|
285
|
+
map.set(cim_class_names_1.ClassNames.EVModelContainer, EVModelContainer_1.EVModelContainer);
|
|
286
|
+
map.set(cim_class_names_1.ClassNames.WNModelContainer, WNModelContainer_1.WNModelContainer);
|
|
287
|
+
map.set(cim_class_names_1.ClassNames.AMPRIONModelContainer, AMPRIONModelContainer_1.AMPRIONModelContainer);
|
|
288
|
+
map.set(cim_class_names_1.ClassNames.INTEGRALModelContainer, INTEGRALModelContainer_1.INTEGRALModelContainer);
|
|
289
|
+
map.set(cim_class_names_1.ClassNames.Model, Model_1.Model);
|
|
290
|
+
map.set(cim_class_names_1.ClassNames.FullModel, FullModel_1.FullModel);
|
|
291
|
+
map.set(cim_class_names_1.ClassNames.RdfClass, RdfClass_1.RdfClass);
|
|
292
|
+
map.set(cim_class_names_1.ClassNames.RdfProperty, RdfProperty_1.RdfProperty);
|
|
293
|
+
map.set(cim_class_names_1.ClassNames.RdfEnum, RdfEnum_1.RdfEnum);
|
|
294
|
+
return map;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Eine quellsystemspezifische Konfiguration als ein Array mit Klassennamen.
|
|
298
|
+
* Dieses Array dient dem Laden des Modells aus dem Fuseki-Store.
|
|
299
|
+
* @param sourceSystem Name des Quellsystems z.B. neplan_westnetz
|
|
300
|
+
* @param netzSchemaModel optionales Attribut zum Laden netzschemaspezifischer Daten
|
|
301
|
+
* @return Array mit Klassennamen
|
|
302
|
+
* */
|
|
303
|
+
static getLoadConfig(sourceSystem, netzSchemaModel) {
|
|
304
|
+
switch (sourceSystem) {
|
|
305
|
+
case EVSourceSystemKind_1.EVSourceSystemKind.NeplanWestnetz: {
|
|
306
|
+
if (netzSchemaModel)
|
|
307
|
+
return load_confings_1.Configs.LOAD_CONFIG_SCHEMA_NEPLAN;
|
|
308
|
+
else
|
|
309
|
+
return load_confings_1.Configs.LOAD_CONFIG_NEPLAN;
|
|
310
|
+
}
|
|
311
|
+
case EVSourceSystemKind_1.EVSourceSystemKind.SincalLEW: {
|
|
312
|
+
// TODO
|
|
313
|
+
return load_confings_1.Configs.LOAD_CONFIG_SCHEMA_NEPLAN;
|
|
314
|
+
}
|
|
315
|
+
case EVSourceSystemKind_1.EVSourceSystemKind.Integral7Westnetz: {
|
|
316
|
+
// TODO
|
|
317
|
+
return load_confings_1.Configs.LOAD_CONFIG_SCHEMA_NEPLAN;
|
|
318
|
+
}
|
|
319
|
+
case EVSourceSystemKind_1.EVSourceSystemKind.PSDM: {
|
|
320
|
+
// TODO
|
|
321
|
+
return load_confings_1.Configs.LOAD_CONFIG_SCHEMA_NEPLAN;
|
|
322
|
+
}
|
|
323
|
+
case EVSourceSystemKind_1.EVSourceSystemKind.RDF: {
|
|
324
|
+
// TODO
|
|
325
|
+
return load_confings_1.Configs.LOAD_CONFIG_RDF_MODEL;
|
|
326
|
+
}
|
|
327
|
+
default: {
|
|
328
|
+
return load_confings_1.Configs.LOAD_CONFIG_MODELS;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
static async loadContainerModels(fusekiUrl) {
|
|
333
|
+
/** Haupt-Container laden
|
|
334
|
+
* Base- und Alternatemodlle laden und im Haupt-Container ablegen */
|
|
335
|
+
const loadConfig = [cim_class_names_1.ClassNames.EVModelsContainer, cim_class_names_1.ClassNames.EVModelContainer];
|
|
336
|
+
const classDefinitions = CimModelUtils.getClassDefinitions();
|
|
337
|
+
const modelsRequests = fuseki_utils_1.JenaFusekiUtils.getRequestURLs(fusekiUrl, loadConfig, classDefinitions);
|
|
338
|
+
const response = await fuseki_utils_1.JenaFusekiUtils.fetchData(modelsRequests);
|
|
339
|
+
CimModelUtils.enrichFusekiResponse(response, loadConfig);
|
|
340
|
+
const modelsContainer = await CimModelUtils.instantiateNetworkModelsContainer(response);
|
|
341
|
+
return modelsContainer;
|
|
342
|
+
}
|
|
343
|
+
/** Separate Methode zum Instanziieren der EVModelsContainer, instanziieren der EVModelContainer * */
|
|
344
|
+
static async instantiateNetworkModelsContainer(fusekiResponse) {
|
|
345
|
+
// const classDefinitions = CimModelUtils.getClassDefinitions();
|
|
346
|
+
const modelsContainer = [];
|
|
347
|
+
// ModelsContainer parsen
|
|
348
|
+
const modelsContainerRawData = fusekiResponse.find(it => it.type === cim_class_names_1.ClassNames.EVModelsContainer);
|
|
349
|
+
EVModelsContainer_1.EVModelsContainer.resolveClassFusekiJSON(modelsContainerRawData, modelsContainer);
|
|
350
|
+
// ModelsContainer parsen
|
|
351
|
+
const modelContainerRawData = fusekiResponse.find(it => it.type === cim_class_names_1.ClassNames.EVModelContainer);
|
|
352
|
+
for (const binding of modelContainerRawData?.results?.bindings) {
|
|
353
|
+
const modelsContainerUUID = parser_utils_1.ParserUtils.getValue(binding, 'modelsContainerUUID');
|
|
354
|
+
const container = modelsContainer.find(it => it.mrid === modelsContainerUUID);
|
|
355
|
+
let model;
|
|
356
|
+
if (container?.sourceSystem === EVSourceSystemKind_1.EVSourceSystemKind.NeplanWestnetz) {
|
|
357
|
+
model = WNModelContainer_1.WNModelContainer.resolveClassFusekiJSON(binding);
|
|
358
|
+
}
|
|
359
|
+
else {
|
|
360
|
+
model = EVModelContainer_1.EVModelContainer.resolveClassFusekiJSON(binding);
|
|
361
|
+
}
|
|
362
|
+
model.modelsContainer = container;
|
|
363
|
+
container?.addModel(model);
|
|
364
|
+
}
|
|
365
|
+
return modelsContainer;
|
|
366
|
+
}
|
|
367
|
+
/** Instanziiert Inhalte des Base- und/oder AlternateModels */
|
|
368
|
+
static async loadNetworkModels(fusekiUrl, modelsContainer, loadConfig) {
|
|
369
|
+
loadConfig = loadConfig ? loadConfig : CimModelUtils.getLoadConfig(modelsContainer.sourceSystem);
|
|
370
|
+
const classDefinitions = CimModelUtils.getClassDefinitions();
|
|
371
|
+
const baseModel = modelsContainer.getBaseModel();
|
|
372
|
+
const baseReqUrls = fuseki_utils_1.JenaFusekiUtils.getRequestURLs(fusekiUrl, loadConfig, classDefinitions, baseModel.graphUri);
|
|
373
|
+
const baseResponse = await fuseki_utils_1.JenaFusekiUtils.fetchData(baseReqUrls);
|
|
374
|
+
CimModelUtils.enrichFusekiResponse(baseResponse, loadConfig);
|
|
375
|
+
const alternateModel = modelsContainer.getAlternateModel();
|
|
376
|
+
const alternateReqUrls = fuseki_utils_1.JenaFusekiUtils.getRequestURLs(fusekiUrl, loadConfig, classDefinitions, alternateModel.graphUri);
|
|
377
|
+
const alternateResponse = await fuseki_utils_1.JenaFusekiUtils.fetchData(alternateReqUrls);
|
|
378
|
+
CimModelUtils.enrichFusekiResponse(alternateResponse, loadConfig);
|
|
379
|
+
CimModelUtils.instantiateNetworkModels(baseResponse, alternateResponse, modelsContainer);
|
|
380
|
+
}
|
|
381
|
+
static instantiateNetworkModels(baseModelResponse, alternateModelResponse, modelsContainer) {
|
|
382
|
+
const classDefinitions = CimModelUtils.getClassDefinitions();
|
|
383
|
+
const baseModel = modelsContainer.getBaseModel();
|
|
384
|
+
for (let i = 0; i < baseModelResponse.length; i++) {
|
|
385
|
+
const className = baseModelResponse[i].type;
|
|
386
|
+
const rawData = baseModelResponse[i];
|
|
387
|
+
/** 3. Requests parsen */
|
|
388
|
+
classDefinitions.get(className)?.resolveClassFusekiJSON(rawData, baseModel);
|
|
389
|
+
}
|
|
390
|
+
baseModel.resolveParsedAssociations();
|
|
391
|
+
const alternateModel = modelsContainer.getAlternateModel();
|
|
392
|
+
for (let i = 0; i < alternateModelResponse.length; i++) {
|
|
393
|
+
const className = alternateModelResponse[i].type;
|
|
394
|
+
const rawData = alternateModelResponse[i];
|
|
395
|
+
/** 3. Requests parsen */
|
|
396
|
+
classDefinitions.get(className)?.resolveClassFusekiJSON(rawData, alternateModel);
|
|
397
|
+
}
|
|
398
|
+
alternateModel.resolveParsedAssociations();
|
|
399
|
+
modelsContainer.prepareAlternateModel();
|
|
400
|
+
}
|
|
401
|
+
static enrichFusekiResponse(fusekiResponse, loadConfig) {
|
|
402
|
+
for (let i = 0; i < fusekiResponse.length; i++) {
|
|
403
|
+
fusekiResponse[i].type = loadConfig[i];
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
static determineNewObjects(cimObject) {
|
|
407
|
+
const newObjects = [];
|
|
408
|
+
switch (cimObject.constructor.name) {
|
|
409
|
+
case cim_class_names_1.ClassNames.ChangeSet: {
|
|
410
|
+
const changeSet = cimObject;
|
|
411
|
+
const incrementalDatasetArgs = Array.from(changeSet.incrementalDatasetArg.values());
|
|
412
|
+
const modelOperations = incrementalDatasetArgs.map(it => it.modelOperation);
|
|
413
|
+
const changeSetMembers = changeSet.changeSetMember;
|
|
414
|
+
const metaObjects = changeSetMembers.map(it => [...it.getMetaObjects().values()]).flat();
|
|
415
|
+
const targetPropertiesObjects = changeSetMembers.map(it => [it.targetObject, it.propertiesObject]).flat();
|
|
416
|
+
newObjects.push(changeSet, ...incrementalDatasetArgs, ...modelOperations, ...changeSetMembers, ...metaObjects, ...targetPropertiesObjects);
|
|
417
|
+
break;
|
|
418
|
+
}
|
|
419
|
+
default: {
|
|
420
|
+
newObjects.push(cimObject);
|
|
421
|
+
break;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
return newObjects;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
exports.CimModelUtils = CimModelUtils;
|
|
428
|
+
//# sourceMappingURL=cim.model.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cim.model.utils.js","sourceRoot":"","sources":["../../src/utils2/cim.model.utils.ts"],"names":[],"mappings":";;;AAAA,kEAA0D;AAC1D,2DAAwD;AACxD,mDAAgD;AAChD,yDAAsD;AACtD,6DAA0D;AAC1D,2CAAwC;AACxC,8CAA2C;AAC3C,iDAA8C;AAC9C,gEAA6D;AAC7D,yFAAsF;AACtF,+FAA4F;AAC5F,sEAAmE;AACnE,4EAAyE;AACzE,gEAA6D;AAC7D,sDAAmD;AACnD,kDAA+C;AAC/C,0EAAuE;AACvE,8DAA2D;AAC3D,kDAA+C;AAC/C,oDAAiD;AACjD,oEAAiE;AACjE,sDAAmD;AACnD,wEAAqE;AACrE,gDAA6C;AAC7C,8DAA2D;AAC3D,kEAA+D;AAC/D,0DAAuD;AACvD,gEAA6D;AAC7D,0EAAuE;AACvE,gEAA6D;AAC7D,sFAAmF;AACnF,wEAAqE;AACrE,0EAAuE;AACvE,uEAAoE;AACpE,sEAAmE;AACnE,kFAA+E;AAC/E,wFAAqF;AACrF,0FAAuF;AACvF,0EAAuE;AACvE,qEAAkE;AAClE,qDAAkD;AAClD,2EAAwE;AACxE,uEAAoE;AACpE,qEAAkE;AAClE,iEAA8D;AAC9D,sDAAmD;AACnD,kEAA+D;AAC/D,4EAAyE;AACzE,uEAAoE;AACpE,uDAAoD;AACpD,sFAAmF;AACnF,iEAA8D;AAC9D,iDAA8C;AAC9C,uDAAoD;AACpD,qEAAkE;AAClE,uEAAoE;AACpE,6DAA0D;AAC1D,2DAAwD;AACxD,yDAAsD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CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;gBAC3B,MAAM;aACP;SACF;QACD,OAAO,UAAU,CAAC;IACpB,CAAC;CAKF;AA/VD,sCA+VC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CimType } from '../types/cim.types';
|
|
2
|
+
export declare abstract class CommonUtils {
|
|
3
|
+
static generateUUID(): string;
|
|
4
|
+
/** Löscht alle Properties eines Objektes */
|
|
5
|
+
static allAttributes2Undefined<O>(object: O, keep?: string[]): void;
|
|
6
|
+
static collectionToArray(value: any): any[];
|
|
7
|
+
static isCollection(value: any): boolean;
|
|
8
|
+
static ifUndefined2Null(value: any, toString?: boolean): any | null;
|
|
9
|
+
static instantiateObject<T>(obj: (new () => T)): T;
|
|
10
|
+
/**
|
|
11
|
+
* Prüft CIM Objekte auf Vorhandensein von UUID und MRIDs
|
|
12
|
+
* Bei nicht vorhandenen UUID und MRIDs wird das Objekt um entsprechendes Property bzw. Ausprägung erweitert.
|
|
13
|
+
* */
|
|
14
|
+
static createIfNotExistMRID(objects: CimType[]): void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Function to check, whether a property/attribute (based on a string) is a property of the type T
|
|
18
|
+
*
|
|
19
|
+
* @param name name of the property/attribute
|
|
20
|
+
*/
|
|
21
|
+
export declare const propertyOf: <TObj>(name: keyof TObj) => keyof TObj;
|
|
22
|
+
/**
|
|
23
|
+
* Returns a function which can be used to check whether a property/attribute (based on a string) is a property of the given object
|
|
24
|
+
*
|
|
25
|
+
* @param _obj any object
|
|
26
|
+
*/
|
|
27
|
+
export declare const propertiesOf: <TObj>(_obj?: TObj) => <T extends keyof TObj>(name: T) => T;
|
|
28
|
+
/**
|
|
29
|
+
* Returns a function which can be used to check whether a property/attribute (proxy-variant) is a property of the given object
|
|
30
|
+
*
|
|
31
|
+
* @param obj any object
|
|
32
|
+
*/
|
|
33
|
+
export declare const proxiedPropertiesOf: <TObj>(obj?: TObj) => { [P in keyof TObj]?: P; };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.proxiedPropertiesOf = exports.propertiesOf = exports.propertyOf = exports.CommonUtils = void 0;
|
|
4
|
+
const uuid_1 = require("uuid");
|
|
5
|
+
class CommonUtils {
|
|
6
|
+
static generateUUID() {
|
|
7
|
+
return (0, uuid_1.v4)();
|
|
8
|
+
}
|
|
9
|
+
/** Löscht alle Properties eines Objektes */
|
|
10
|
+
static allAttributes2Undefined(object, keep) {
|
|
11
|
+
for (const key of Object.keys(object)) {
|
|
12
|
+
if (keep?.includes(key))
|
|
13
|
+
continue;
|
|
14
|
+
delete object[key];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
static collectionToArray(value) {
|
|
18
|
+
if (value instanceof Map) {
|
|
19
|
+
return Array.from(value.values());
|
|
20
|
+
}
|
|
21
|
+
if (value instanceof Set) {
|
|
22
|
+
return Array.from(value.values());
|
|
23
|
+
}
|
|
24
|
+
if (Array.isArray(value)) {
|
|
25
|
+
return value;
|
|
26
|
+
}
|
|
27
|
+
return [];
|
|
28
|
+
}
|
|
29
|
+
static isCollection(value) {
|
|
30
|
+
if (value instanceof Map) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
if (value instanceof Set) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
if (Array.isArray(value)) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
static ifUndefined2Null(value, toString) {
|
|
42
|
+
return value === undefined ? (toString ? 'null' : null) : value;
|
|
43
|
+
}
|
|
44
|
+
static instantiateObject(obj) {
|
|
45
|
+
return new obj();
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Prüft CIM Objekte auf Vorhandensein von UUID und MRIDs
|
|
49
|
+
* Bei nicht vorhandenen UUID und MRIDs wird das Objekt um entsprechendes Property bzw. Ausprägung erweitert.
|
|
50
|
+
* */
|
|
51
|
+
static createIfNotExistMRID(objects) {
|
|
52
|
+
for (const object of objects) {
|
|
53
|
+
if (!object.hasOwnProperty('mrid')) {
|
|
54
|
+
object.mrid = CommonUtils.generateUUID();
|
|
55
|
+
}
|
|
56
|
+
else if (!object.mrid) {
|
|
57
|
+
object.mrid = CommonUtils.generateUUID();
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.CommonUtils = CommonUtils;
|
|
63
|
+
/**
|
|
64
|
+
* Function to check, whether a property/attribute (based on a string) is a property of the type T
|
|
65
|
+
*
|
|
66
|
+
* @param name name of the property/attribute
|
|
67
|
+
*/
|
|
68
|
+
const propertyOf = (name) => name;
|
|
69
|
+
exports.propertyOf = propertyOf;
|
|
70
|
+
/**
|
|
71
|
+
* Returns a function which can be used to check whether a property/attribute (based on a string) is a property of the given object
|
|
72
|
+
*
|
|
73
|
+
* @param _obj any object
|
|
74
|
+
*/
|
|
75
|
+
const propertiesOf = (_obj = undefined) => (name) => name;
|
|
76
|
+
exports.propertiesOf = propertiesOf;
|
|
77
|
+
/**
|
|
78
|
+
* Returns a function which can be used to check whether a property/attribute (proxy-variant) is a property of the given object
|
|
79
|
+
*
|
|
80
|
+
* @param obj any object
|
|
81
|
+
*/
|
|
82
|
+
const proxiedPropertiesOf = (obj) => new Proxy({}, {
|
|
83
|
+
get: (_, prop) => prop,
|
|
84
|
+
set: () => {
|
|
85
|
+
throw Error('Set not supported');
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
exports.proxiedPropertiesOf = proxiedPropertiesOf;
|
|
89
|
+
//# sourceMappingURL=common.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.utils.js","sourceRoot":"","sources":["../../src/utils2/common.utils.ts"],"names":[],"mappings":";;;AAAA,+BAAoC;AAGpC,MAAsB,WAAW;IAExB,MAAM,CAAC,YAAY;QACxB,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GAAG,EAAE,CAAC;IACnB,CAAC;IAGD;;;SAGK;IACE,MAAM,CAAC,oBAAoB,CAAC,OAAkB;QACnD,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;YAC5B,IAAG,CAAC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE;gBACjC,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,YAAY,EAAE,CAAC;aAC1C;iBACI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE;gBACrB,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,YAAY,EAAE,CAAC;aAC1C;SACF;IACH,CAAC;CACF;AAhED,kCAgEC;AAED;;;;GAIG;AACI,MAAM,UAAU,GAAG,CAAO,IAAgB,EAAE,EAAE,CAAC,IAAI,CAAC;AAA9C,QAAA,UAAU,cAAoC;AAE3D;;;;GAIG;AACI,MAAM,YAAY,GAAG,CAAO,OAA2B,SAAS,EAAE,EAAE,CAAC,CAAuB,IAAO,EAAK,EAAE,CAAC,IAAI,CAAC;AAA1G,QAAA,YAAY,gBAA8F;AAEvH;;;;GAIG;AACI,MAAM,mBAAmB,GAAG,CAAO,GAAU,EAAE,EAAE,CACtD,IAAI,KAAK,CAAC,EAAE,EAAE;IACZ,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI;IACtB,GAAG,EAAE,GAAG,EAAE;QACR,MAAM,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACnC,CAAC;CACF,CAEA,CAAC;AARS,QAAA,mBAAmB,uBAQ5B"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RdfModel } from '../rdf/RdfModel';
|
|
2
|
+
import { CimType } from '../types/cim.types';
|
|
3
|
+
import { EVModelContainer } from '../model-container/model/EVModelContainer';
|
|
4
|
+
import { EVModelsContainer } from '../model-container/model/EVModelsContainer';
|
|
5
|
+
import { IUUIDObject } from '../interfaces/IUUIDObject';
|
|
6
|
+
export declare abstract class JenaFusekiUtils {
|
|
7
|
+
static generateSaveSparqls(modelContainer: EVModelContainer, instances: IUUIDObject[]): string;
|
|
8
|
+
/** Erstellt RequestURIs zum Abfragen der Netzdaten aus dem Jena Fuseki
|
|
9
|
+
* @param fusekiURI http://host:porthttp:/dataset
|
|
10
|
+
* @param loadConfig Array mit den abzufragenden Klassennamen z.B. ["ACLineSegment", "Terminal"]
|
|
11
|
+
* @param classDefinitions eine Map key Klassenname, value -> Klassendefinition
|
|
12
|
+
* @param graphURI <http://localhost.de/>
|
|
13
|
+
* */
|
|
14
|
+
static getRequestURLs(fusekiURI: string, loadConfig: Array<string>, classDefinitions: Map<string, any>, graphURI?: string): string[];
|
|
15
|
+
static getRequestURL(fusekiURI: string, classDefinition: any, graphURI?: string): string;
|
|
16
|
+
static fetchData(requestRdfURLs: string[]): Promise<IFusekiResponse<any>[]>;
|
|
17
|
+
static getPostRequests(fusekiUrl: string, method: 'post' | 'put', bodies: string[], contentType: string, graphUrl?: string): IFusekiPostRequest[];
|
|
18
|
+
static getPostRequest(fusekiUrl: string, method: string, body: string, contentType: string, graphUrl?: string): IFusekiPostRequest;
|
|
19
|
+
static postData(fusekiPostRequest: IFusekiPostRequest[]): Promise<IFusekiPostResponse[]>;
|
|
20
|
+
static postSaveSparqls(fusekiUrl: string, insertStatement: string): Promise<IFusekiPostResponse[]>;
|
|
21
|
+
static saveUpdatedObjects(fusekiUrl: string, instance: CimType, rdfModel: RdfModel): Promise<void>;
|
|
22
|
+
static deleteModelContainer(modelContainer: EVModelsContainer, fusekiUrl: string): Promise<IFusekiPostResponse[]>;
|
|
23
|
+
}
|
|
24
|
+
export interface IFusekiPostRequest {
|
|
25
|
+
url: string;
|
|
26
|
+
request: {
|
|
27
|
+
method: string;
|
|
28
|
+
body: string;
|
|
29
|
+
headers: any;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export interface IFusekiPostResponse {
|
|
33
|
+
status: number;
|
|
34
|
+
objects: any[];
|
|
35
|
+
}
|
|
36
|
+
export interface IFusekiResponse<Entry> {
|
|
37
|
+
head: {
|
|
38
|
+
vars: Array<string>;
|
|
39
|
+
};
|
|
40
|
+
results: {
|
|
41
|
+
bindings: Array<Entry>;
|
|
42
|
+
};
|
|
43
|
+
}
|