@enervance/insight-cim-model 0.0.327 → 0.0.328

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.
@@ -318,7 +318,7 @@ class ConverterIntegral7 {
318
318
  const integral7Modell = frame.getI7Model();
319
319
  const cimModel = frame.cimModel;
320
320
  this.svProfileZweigData = new Map;
321
- this.svProfileZweigData = new Map;
321
+ this.svProfileKnotenData = new Map;
322
322
  const subGeoRegionsUUIDs = geoRegion.regions.map(elem => elem.mrid);
323
323
  const subGeoRegionsI7IDs = [];
324
324
  for (const uuid of subGeoRegionsUUIDs) {
@@ -597,7 +597,7 @@ class ConverterIntegral7 {
597
597
  // exportiere erstes gespeichertes Ergebnis
598
598
  if (this.powerFlowResults.length) {
599
599
  const powerFlowResultID = this.powerFlowResults[0].ergnr;
600
- /** Leitungen */
600
+ /** Querzweig */
601
601
  yield this.createSvPowerFlowAnschluesse(cimModel, powerFlowResultID, this.svProfileZweigData);
602
602
  /** Sammelschienen */
603
603
  yield this.createSvProfileDataSsab(cimModel, powerFlowResultID);
@@ -1349,7 +1349,11 @@ class ConverterIntegral7 {
1349
1349
  else {
1350
1350
  this.logger.debug('Sammelschiene ' + i7Data.id + ' besitzt keine Schaltanlage.');
1351
1351
  }
1352
- this.createConnection(cimModel, busbarSection, connectivityNode, PhaseCode_1.PhaseCode.ABC, true);
1352
+ const terminal = this.createConnection(cimModel, busbarSection, connectivityNode, PhaseCode_1.PhaseCode.ABC, true);
1353
+ this.svProfileKnotenData.set(i7Data.id, {
1354
+ powerFlowResultID: i7Data.id,
1355
+ terminalUUID: terminal === null || terminal === void 0 ? void 0 : terminal.mrid
1356
+ });
1353
1357
  this.addIdMapping(i7Data.id, connectivityNode.mrid, integral_sql_1.Integral7TableNames.SAMMELSCHIENE);
1354
1358
  cimModel.addConnectivityNode(connectivityNode);
1355
1359
  cimModel.addBusbarSection(busbarSection);