@enervance/insight-cim-model 0.0.341 → 0.0.343
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 +11 -11
- package/dist/converter/integral7/converter.integral7.js.map +1 -1
- package/dist/etl/etl-integral7/etl-integral7-acos.js +5 -1
- package/dist/etl/etl-integral7/etl-integral7-acos.js.map +1 -1
- package/dist/model/assets/Facility.d.ts +1 -0
- package/dist/model/assets/Facility.js +4 -0
- package/dist/model/assets/Facility.js.map +1 -1
- package/dist/model/core/PowerSystemResource.js.map +1 -1
- package/dist/model/extensions/integral/dc/{DCConverterUnit.js → INTEGRALDCConverterUnit.js} +1 -2
- package/dist/model/extensions/integral/dc/INTEGRALDCConverterUnit.js.map +1 -0
- package/dist/model/extensions/integral/dc/{DCLineSegment.js → INTEGRALDCLineSegment.js} +1 -1
- package/dist/model/extensions/integral/dc/INTEGRALDCLineSegment.js.map +1 -0
- package/dist/utils2/sparql.utils.d.ts +1 -1
- package/dist/utils2/sparql.utils.js +10 -7
- package/dist/utils2/sparql.utils.js.map +1 -1
- package/package.json +1 -1
- package/dist/model/extensions/integral/dc/DCConverterUnit.js.map +0 -1
- package/dist/model/extensions/integral/dc/DCLineSegment.js.map +0 -1
- /package/dist/model/extensions/integral/dc/{DCConverterUnit.d.ts → INTEGRALDCConverterUnit.d.ts} +0 -0
- /package/dist/model/extensions/integral/dc/{DCLineSegment.d.ts → INTEGRALDCLineSegment.d.ts} +0 -0
|
@@ -126,7 +126,7 @@ const DCGround_1 = require("../../model/dc/DCGround.js");
|
|
|
126
126
|
const DCPolarityKind_1 = require("../../model/dc/DCPolarityKind.js");
|
|
127
127
|
const VsCapabilityCurve_1 = require("../../model/dc/VsCapabilityCurve.js");
|
|
128
128
|
const INTEGRALEquivalentBranch_1 = require("../../model/extensions/amprion/equivalents/INTEGRALEquivalentBranch.js");
|
|
129
|
-
const
|
|
129
|
+
const INTEGRALDCConverterUnit_1 = require("../../model/extensions/integral/dc/INTEGRALDCConverterUnit.js");
|
|
130
130
|
const ApparentPowerLimit_1 = require("../../model/operationallimits/ApparentPowerLimit.js");
|
|
131
131
|
const ControlAreaTypeKind_1 = require("../../model/operations/ControlAreaTypeKind.js");
|
|
132
132
|
const AsynchronousMachine_1 = require("../../model/wires/AsynchronousMachine.js");
|
|
@@ -147,7 +147,7 @@ const GroundDisconnector_1 = require("../../model/wires/GroundDisconnector.js");
|
|
|
147
147
|
const i7_graph_utils_1 = require("./model/i7-graph-utils.js");
|
|
148
148
|
const TopologicalNode_1 = require("../../model/topology/TopologicalNode.js");
|
|
149
149
|
const geodata_util_1 = require("../../util/geodata.util.js");
|
|
150
|
-
const
|
|
150
|
+
const INTEGRALDCLineSegment_1 = require("../../model/extensions/integral/dc/INTEGRALDCLineSegment.js");
|
|
151
151
|
const AMPRIONLinearShuntCompensator_1 = require("../../model/extensions/amprion/wires/AMPRIONLinearShuntCompensator.js");
|
|
152
152
|
const INTEGRALEnergySource_1 = require("../../model/extensions/integral/wires/INTEGRALEnergySource.js");
|
|
153
153
|
const SvPowerFlow_1 = require("../../model/statevariables/SvPowerFlow.js");
|
|
@@ -2973,7 +2973,7 @@ class ConverterIntegral7 {
|
|
|
2973
2973
|
const result = yield this.mysqlController.execQuery((0, integral_sql_1.getI7Query)(integral_sql_1.I7Objects.HGUE_KOPFSTATION_KLASSISCH, this.getAvailableColumnNames(integral_sql_1.Integral7TableNames.HGUE_KOPFSTATION_KLASSISCH), knotenSfIDs));
|
|
2974
2974
|
for (const i7Data of result) {
|
|
2975
2975
|
/** Containment DC DCConverterUnit */
|
|
2976
|
-
const dcConverterUnit = new
|
|
2976
|
+
const dcConverterUnit = new INTEGRALDCConverterUnit_1.INTEGRALDCConverterUnit((0, parser_utils_1.getUUID)(i7Data.guid), (0, util_create_1.createNotation)([(0, utils_2.getName)(i7Data), '_DCCU']));
|
|
2977
2977
|
dcConverterUnit.governorSCDAc = (0, parser_utils_1.isNumericI7)(i7Data.kr) ? (0, parser_utils_1.convertToNumberI7)(i7Data.kr) : undefined;
|
|
2978
2978
|
dcConverterUnit.governorSCDDc = (0, parser_utils_1.isNumericI7)(i7Data.krdc) ? (0, parser_utils_1.convertToNumberI7)(i7Data.krdc) : undefined;
|
|
2979
2979
|
// Topologie
|
|
@@ -3074,7 +3074,7 @@ class ConverterIntegral7 {
|
|
|
3074
3074
|
const result = yield this.mysqlController.execQuery((0, integral_sql_1.getI7Query)(integral_sql_1.I7Objects.HGUE_KOPFSTATION_VSC, this.getAvailableColumnNames(integral_sql_1.Integral7TableNames.HGUE_KOPFSTATION_VSC), knotenSfIDs));
|
|
3075
3075
|
for (const i7Data of result) {
|
|
3076
3076
|
/** Containment DC DCConverterUnit */
|
|
3077
|
-
const dcConverterUnit = new
|
|
3077
|
+
const dcConverterUnit = new INTEGRALDCConverterUnit_1.INTEGRALDCConverterUnit((0, parser_utils_1.getUUID)(i7Data.guid), (0, util_create_1.createNotation)([(0, utils_2.getName)(i7Data), '_DCCU']));
|
|
3078
3078
|
dcConverterUnit.referencePriority = (0, parser_utils_1.isNumericI7)(i7Data.einspprio) ? (0, parser_utils_1.convertToNumberI7)(i7Data.einspprio) : undefined;
|
|
3079
3079
|
dcConverterUnit.governorSCDAc = (0, parser_utils_1.isNumericI7)(i7Data.kr) ? (0, parser_utils_1.convertToNumberI7)(i7Data.kr) : undefined;
|
|
3080
3080
|
dcConverterUnit.governorSCDDc = (0, parser_utils_1.isNumericI7)(i7Data.krdc) ? (0, parser_utils_1.convertToNumberI7)(i7Data.krdc) : undefined;
|
|
@@ -4675,7 +4675,7 @@ class ConverterIntegral7 {
|
|
|
4675
4675
|
let dcNodeStartMiddle = undefined;
|
|
4676
4676
|
let dcNodeTargetMiddle = undefined;
|
|
4677
4677
|
//Parameter "guidp" is available for monopolar and bipolar dc systems. Thus create DCLineSegment with positive sign property in any case.
|
|
4678
|
-
const dcLineSegment = new
|
|
4678
|
+
const dcLineSegment = new INTEGRALDCLineSegment_1.INTEGRALDCLineSegment((0, parser_utils_1.getUUID)(i7Data.guidp, this.objectMappingConfig.standardiseUuid), i7Data.bezeichner, i7Data.kurzname, i7Schluessel);
|
|
4679
4679
|
dcLineSegmentSet.push(dcLineSegment);
|
|
4680
4680
|
let dcLineSegmentNeg = undefined;
|
|
4681
4681
|
let dcLineSegmentNeutral = undefined;
|
|
@@ -4692,7 +4692,7 @@ class ConverterIntegral7 {
|
|
|
4692
4692
|
const dcLineKey = dcLine.getUUID();
|
|
4693
4693
|
const dcLineUuid = common_utils_1.CommonUtils.generateUUIDv5(cim_class_names_1.ClassNames.DCLine, this.configUuid, dcLineKey);
|
|
4694
4694
|
dcLineNeg = new DCLine_1.DCLine(dcLineUuid, i7Data.bezeichner);
|
|
4695
|
-
dcLineSegmentNeg = new
|
|
4695
|
+
dcLineSegmentNeg = new INTEGRALDCLineSegment_1.INTEGRALDCLineSegment((0, parser_utils_1.getUUID)(i7Data.guidn, this.objectMappingConfig.standardiseUuid), i7Data.bezeichner, (0, util_create_1.createNotation)([i7Data.kurzname, '_neg'], 12, true), i7Schluessel);
|
|
4696
4696
|
dcLineSegmentSet.push(dcLineSegmentNeg);
|
|
4697
4697
|
dcLineSegmentNeg.length = dcLineSegment.length;
|
|
4698
4698
|
dcLineSegmentNeg.capacitance = undefined;
|
|
@@ -4706,7 +4706,7 @@ class ConverterIntegral7 {
|
|
|
4706
4706
|
const dcLineNeutralUuid = common_utils_1.CommonUtils.generateUUIDv5(cim_class_names_1.ClassNames.DCLine, this.configUuid, dcLineKey);
|
|
4707
4707
|
const dcLineSegmentUuid = common_utils_1.CommonUtils.generateUUIDv5(cim_class_names_1.ClassNames.DCLineSegment, this.configUuid, dcLineNeutralUuid);
|
|
4708
4708
|
dcLineNeutral = new DCLine_1.DCLine(dcLineNeutralUuid, (0, util_create_1.createNotation)([(0, utils_2.getName)(i7Data), '_mid', '_DCL']));
|
|
4709
|
-
dcLineSegmentNeutral = new
|
|
4709
|
+
dcLineSegmentNeutral = new INTEGRALDCLineSegment_1.INTEGRALDCLineSegment(dcLineSegmentUuid, (0, util_create_1.createNotation)([(0, utils_2.getName)(i7Data), '_mid', '_DCLS'], 32, true), (0, util_create_1.createNotation)([i7Data.kurzname, '_mid'], 12, true), i7Schluessel);
|
|
4710
4710
|
dcLineSegmentSet.push(dcLineSegmentNeutral);
|
|
4711
4711
|
dcLineSegmentNeutral.length = dcLineSegment.length;
|
|
4712
4712
|
dcLineSegmentNeutral.capacitance = undefined;
|
|
@@ -4734,13 +4734,13 @@ class ConverterIntegral7 {
|
|
|
4734
4734
|
if (bipole) {
|
|
4735
4735
|
let converterUnitKey = converterUnitStart.getUUID();
|
|
4736
4736
|
let converterUnitNegUUID = common_utils_1.CommonUtils.generateUUIDv5(cim_class_names_1.ClassNames.DCConverterUnit, this.configUuid, converterUnitKey);
|
|
4737
|
-
converterUnitStartNeg = new
|
|
4737
|
+
converterUnitStartNeg = new INTEGRALDCConverterUnit_1.INTEGRALDCConverterUnit(converterUnitNegUUID, (0, util_create_1.createNotation)([(0, utils_2.getName)(i7Data), '_NEG_DCCU']), '', 'second converter unit of bipole');
|
|
4738
4738
|
converterUnitStartNeg.setSubstation(converterUnitStart.getSubstation());
|
|
4739
4739
|
acDCConverterStartNeg = converterStart && int7hguekopfStart !== undefined ? (0, util_create_1.createACDCConverterNeg)(cimModel, int7hguekopfStart, acDCConverterStart.constructor.name, acDCConverterStart, converterUnitStartNeg, this.configUuid) : undefined;
|
|
4740
4740
|
converterStartNeg = (0, parser_utils_1.convertToBooleanI7)(acDCConverterStartNeg !== undefined);
|
|
4741
4741
|
converterUnitKey = converterUnitTarget.getUUID();
|
|
4742
4742
|
converterUnitNegUUID = common_utils_1.CommonUtils.generateUUIDv5(cim_class_names_1.ClassNames.DCConverterUnit, this.configUuid, converterUnitKey);
|
|
4743
|
-
converterUnitTargetNeg = new
|
|
4743
|
+
converterUnitTargetNeg = new INTEGRALDCConverterUnit_1.INTEGRALDCConverterUnit(converterUnitNegUUID, (0, util_create_1.createNotation)([(0, utils_2.getName)(i7Data), '_NEG_DCCU']), '', 'second converter unit of bipole');
|
|
4744
4744
|
converterUnitTargetNeg.setSubstation(converterUnitTarget.getSubstation());
|
|
4745
4745
|
acDCConverterTargetNeg = converterTarget && int7hguekopfTarget !== undefined ? (0, util_create_1.createACDCConverterNeg)(cimModel, int7hguekopfTarget, acDCConverterTarget.constructor.name, acDCConverterTarget, converterUnitTargetNeg, this.configUuid) : undefined;
|
|
4746
4746
|
converterTargetNeg = (0, parser_utils_1.convertToBooleanI7)(acDCConverterTargetNeg !== undefined);
|
|
@@ -4748,11 +4748,11 @@ class ConverterIntegral7 {
|
|
|
4748
4748
|
//Set grounding for dcConverterUnit
|
|
4749
4749
|
let converterUnitKey = converterUnitStart.getUUID() + 'GROUND';
|
|
4750
4750
|
let converterUnitGroundUUID = common_utils_1.CommonUtils.generateUUIDv5(cim_class_names_1.ClassNames.DCConverterUnit, this.configUuid, converterUnitKey);
|
|
4751
|
-
converterUnitStartGround = new
|
|
4751
|
+
converterUnitStartGround = new INTEGRALDCConverterUnit_1.INTEGRALDCConverterUnit(converterUnitGroundUUID, (0, util_create_1.createNotation)([(0, utils_2.getName)(i7Data), '_GND_DCCU']));
|
|
4752
4752
|
converterUnitStartGround.setSubstation(converterUnitStart.getSubstation());
|
|
4753
4753
|
converterUnitKey = converterUnitTarget.getUUID() + 'GROUND';
|
|
4754
4754
|
converterUnitGroundUUID = common_utils_1.CommonUtils.generateUUIDv5(cim_class_names_1.ClassNames.DCConverterUnit, this.configUuid, converterUnitKey);
|
|
4755
|
-
converterUnitTargetGround = new
|
|
4755
|
+
converterUnitTargetGround = new INTEGRALDCConverterUnit_1.INTEGRALDCConverterUnit(converterUnitGroundUUID, (0, util_create_1.createNotation)([(0, utils_2.getName)(i7Data), '_GND_DCCU']));
|
|
4756
4756
|
converterUnitTargetGround.setSubstation(converterUnitTarget.getSubstation());
|
|
4757
4757
|
if (converterStart && converterTarget) {
|
|
4758
4758
|
dcNodeStartMiddle = createDCGround(cimModel, acDCConverterStart, converterUnitStartGround, int7hguekopfStart, bipole);
|