@enervance/insight-cim-model 0.0.445 → 0.0.446
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/converter/integral7/converter.integral7.js +4 -3
- package/dist/converter/integral7/converter.integral7.js.map +1 -1
- package/dist/converter/integral7/interface-i7/object-mapping-config.interface.d.ts +1 -0
- package/dist/model/core/ConnectivityNode.js +3 -1
- package/dist/model/core/ConnectivityNode.js.map +1 -1
- package/dist/model/core/IdentifiedObject.d.ts +1 -0
- package/dist/model/core/IdentifiedObject.js +9 -0
- package/dist/model/core/IdentifiedObject.js.map +1 -1
- package/dist/model/core/PowerSystemResource.js +1 -0
- package/dist/model/core/PowerSystemResource.js.map +1 -1
- package/dist/model/core/Terminal.js +3 -0
- package/dist/model/core/Terminal.js.map +1 -1
- package/dist/model/extensions/amprion/filter/AMPRIONFilterType.d.ts +1 -0
- package/dist/model/extensions/amprion/filter/AMPRIONFilterType.js +3 -0
- package/dist/model/extensions/amprion/filter/AMPRIONFilterType.js.map +1 -1
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js +3 -0
- package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js.map +1 -1
- package/dist/model/topology/TopologicalNode.js +0 -3
- package/dist/model/topology/TopologicalNode.js.map +1 -1
- package/dist/model-container/model/AMPRIONModelContainer.d.ts +1 -0
- package/dist/model-container/model/AMPRIONModelContainer.js +3 -0
- package/dist/model-container/model/AMPRIONModelContainer.js.map +1 -1
- package/package.json +1 -1
|
@@ -328,7 +328,7 @@ class ConverterIntegral7 {
|
|
|
328
328
|
}
|
|
329
329
|
convertFrame(frame, geoRegion, objectMappingConfig, energyTypesConfig, defaultValuesConfig, energySourceTypeMappingConfig) {
|
|
330
330
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
331
|
-
var _a;
|
|
331
|
+
var _a, _b;
|
|
332
332
|
const integral7Modell = frame.getI7Model();
|
|
333
333
|
const cimModel = frame.cimModel;
|
|
334
334
|
this.svProfileZweigData = new Map;
|
|
@@ -457,7 +457,8 @@ class ConverterIntegral7 {
|
|
|
457
457
|
* 2) netz_schaltelement1pelem -> Junction/Terminal
|
|
458
458
|
* 3) netz_kdrossel */
|
|
459
459
|
/** Sternpunktschienen -> ConnectivityNodes */
|
|
460
|
-
if (standortIDs.length > 0) {
|
|
460
|
+
if (standortIDs.length > 0 && !((_a = objectMappingConfig.ExcludeElements) === null || _a === void 0 ? void 0 : _a.includes('KDrossel'))) {
|
|
461
|
+
// für einige Anwendungsfälle werden keine PetersenCoils benötigt
|
|
461
462
|
startTime = perf_hooks.performance.now();
|
|
462
463
|
const stpSchieneID = yield this.convertSternpunktSchienen(cimModel, integral7Modell, standortIDs);
|
|
463
464
|
/** KDrossel -> GroundingImpedance/PetersenCoil */
|
|
@@ -663,7 +664,7 @@ class ConverterIntegral7 {
|
|
|
663
664
|
const netzErsatzlaengszweigIds = [...integral7Modell.integalErsatzLaengszweigIds.values()];
|
|
664
665
|
const netzStreckenlastIds = [...integral7Modell.integralLeitungen.values()].map(leitung => leitung.streckenlastId).filter(id => id !== undefined && id !== null);
|
|
665
666
|
const allLeitungIds = [...new Set([...netzLeitungIds, ...netzHgueLeitungIds, ...netzErsatzlaengszweigIds, ...netzStreckenlastIds]).values()];
|
|
666
|
-
const overall_substation_amount = ((
|
|
667
|
+
const overall_substation_amount = ((_b = standortIDs === null || standortIDs === void 0 ? void 0 : standortIDs.length) !== null && _b !== void 0 ? _b : 0);
|
|
667
668
|
this.configurableDLConvertOptions;
|
|
668
669
|
const convertOptions = Object.assign(Object.assign({}, JSON.parse(JSON.stringify(this.configurableDLConvertOptions))), { overall_substation_amount: overall_substation_amount, visible_only: true, boundary_standortIds, only: {
|
|
669
670
|
netz_standortIds,
|