@gridsuite/commons-ui 0.269.0 → 0.271.0
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/components/ui/dialogs/customMuiDialog/CustomMuiDialog.d.ts +10 -3
- package/dist/components/ui/dialogs/customMuiDialog/CustomMuiDialog.js +33 -28
- package/dist/features/index.js +96 -3
- package/dist/features/network-modifications/common/branch/branchCreation.types.d.ts +26 -0
- package/dist/features/network-modifications/common/branch/branchModification.types.d.ts +36 -0
- package/dist/features/network-modifications/common/branch/branchModification.types.js +1 -0
- package/dist/features/network-modifications/{line/characteristics/lineCharacteristicsPane.types.d.ts → common/branch/index.d.ts} +2 -8
- package/dist/features/network-modifications/common/branch/index.js +1 -0
- package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.d.ts +2 -0
- package/dist/features/network-modifications/common/currentLimits/limits.types.d.ts +1 -0
- package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.d.ts +2 -2
- package/dist/features/network-modifications/common/index.d.ts +1 -0
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +1 -1
- package/dist/features/network-modifications/common/regulatingTerminal/regulatingTerminal.utils.d.ts +2 -2
- package/dist/features/network-modifications/common/regulatingTerminal/regulatingTerminal.utils.js +2 -2
- package/dist/features/network-modifications/index.d.ts +1 -0
- package/dist/features/network-modifications/index.js +96 -3
- package/dist/features/network-modifications/line/characteristics/index.d.ts +0 -1
- package/dist/features/network-modifications/line/characteristics/index.js +1 -2
- package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.d.ts +4 -19
- package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js +0 -14
- package/dist/features/network-modifications/line/creation/lineCreation.types.d.ts +6 -26
- package/dist/features/network-modifications/line/index.js +1 -2
- package/dist/features/network-modifications/line/modification/lineModification.types.d.ts +3 -35
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.d.ts +7 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.js +168 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/index.d.ts +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/index.js +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/twoWindingsTransformerCharacteristicsPane.utils.d.ts +41 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/twoWindingsTransformerCharacteristicsPane.utils.js +51 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.js +123 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabs.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabs.js +89 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.d.ts +14 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.js +118 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.js +47 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/index.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/index.js +13 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.types.d.ts +87 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.types.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.utils.d.ts +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.utils.js +50 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/index.d.ts +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/index.js +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.types.d.ts +47 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.types.js +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.d.ts +248 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.js +325 -0
- package/dist/features/network-modifications/twoWindingsTransformer/index.d.ts +11 -0
- package/dist/features/network-modifications/twoWindingsTransformer/index.js +88 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/index.js +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.js +104 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/index.js +7 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.type.d.ts +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.type.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.utils.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.utils.js +18 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.types.d.ts +39 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.types.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.d.ts +265 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.js +100 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.d.ts +13 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.js +130 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.d.ts +20 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.js +311 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/index.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/index.js +53 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.d.ts +2 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.js +198 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.js +201 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/index.js +15 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.d.ts +114 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.js +242 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.d.ts +2 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.js +283 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.js +181 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/index.js +18 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/ratioTapChanger.utils.d.ts +132 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/ratioTapChanger.utils.js +211 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.d.ts +2 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.js +102 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialogSubmitButton.d.ts +7 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialogSubmitButton.js +22 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.js +86 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.d.ts +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.js +140 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/index.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/index.js +13 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.types.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.types.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.utils.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.utils.js +19 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/tapChanger.utils.d.ts +14 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/tapChanger.utils.js +79 -0
- package/dist/features/network-modifications/voltageLevel/index.d.ts +1 -0
- package/dist/features/network-modifications/voltageLevel/index.js +9 -1
- package/dist/features/network-modifications/voltageLevel/section/VoltageLevelSectionCreationForm.d.ts +10 -0
- package/dist/features/network-modifications/voltageLevel/section/VoltageLevelSectionCreationForm.js +375 -0
- package/dist/features/network-modifications/voltageLevel/section/index.d.ts +9 -0
- package/dist/features/network-modifications/voltageLevel/section/index.js +10 -0
- package/dist/features/network-modifications/voltageLevel/section/voltageLevelSectionCreation.types.d.ts +15 -0
- package/dist/features/network-modifications/voltageLevel/section/voltageLevelSectionCreation.types.js +1 -0
- package/dist/features/network-modifications/voltageLevel/section/voltageLevelSectionCreation.utils.d.ts +48 -0
- package/dist/features/network-modifications/voltageLevel/section/voltageLevelSectionCreation.utils.js +100 -0
- package/dist/index.js +107 -7
- package/dist/translations/en/filterExpertEn.d.ts +0 -3
- package/dist/translations/en/filterExpertEn.js +0 -3
- package/dist/translations/en/network-modification-validationEn.d.ts +1 -0
- package/dist/translations/en/network-modification-validationEn.js +2 -1
- package/dist/translations/en/networkModificationsEn.d.ts +87 -9
- package/dist/translations/en/networkModificationsEn.js +91 -12
- package/dist/translations/fr/filterExpertFr.d.ts +0 -3
- package/dist/translations/fr/filterExpertFr.js +0 -3
- package/dist/translations/fr/network-modification-validationFr.d.ts +1 -0
- package/dist/translations/fr/network-modification-validationFr.js +2 -1
- package/dist/translations/fr/networkModificationsFr.d.ts +87 -9
- package/dist/translations/fr/networkModificationsFr.js +91 -12
- package/dist/utils/constants/fieldConstants.d.ts +37 -0
- package/dist/utils/constants/fieldConstants.js +37 -0
- package/dist/utils/constants/index.js +2 -1
- package/dist/utils/constants/translationKeys.d.ts +1 -0
- package/dist/utils/constants/translationKeys.js +2 -0
- package/dist/utils/functions.d.ts +9 -0
- package/dist/utils/functions.js +40 -0
- package/dist/utils/index.js +11 -4
- package/dist/utils/langs.d.ts +1 -0
- package/dist/utils/langs.js +9 -1
- package/dist/utils/types/equipmentType.d.ts +34 -0
- package/dist/utils/types/equipmentType.js +28 -0
- package/dist/utils/types/index.js +4 -1
- package/package.json +1 -1
- /package/dist/features/network-modifications/{line/characteristics/lineCharacteristicsPane.types.js → common/branch/branchCreation.types.js} +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { FieldConstants } from "../../../../utils/constants/fieldConstants.js";
|
|
2
|
+
import "../../../../utils/conversionUtils.js";
|
|
3
|
+
import "../../../../utils/types/equipmentType.js";
|
|
4
|
+
import "react/jsx-runtime";
|
|
5
|
+
import "@mui/icons-material";
|
|
6
|
+
var TwoWindingsTransformerDialogTab = /* @__PURE__ */ ((TwoWindingsTransformerDialogTab2) => {
|
|
7
|
+
TwoWindingsTransformerDialogTab2[TwoWindingsTransformerDialogTab2["CONNECTIVITY_TAB"] = 0] = "CONNECTIVITY_TAB";
|
|
8
|
+
TwoWindingsTransformerDialogTab2[TwoWindingsTransformerDialogTab2["CHARACTERISTICS_TAB"] = 1] = "CHARACTERISTICS_TAB";
|
|
9
|
+
TwoWindingsTransformerDialogTab2[TwoWindingsTransformerDialogTab2["LIMITS_TAB"] = 2] = "LIMITS_TAB";
|
|
10
|
+
TwoWindingsTransformerDialogTab2[TwoWindingsTransformerDialogTab2["STATE_ESTIMATION_TAB"] = 3] = "STATE_ESTIMATION_TAB";
|
|
11
|
+
TwoWindingsTransformerDialogTab2[TwoWindingsTransformerDialogTab2["RATIO_TAP_TAB"] = 4] = "RATIO_TAP_TAB";
|
|
12
|
+
TwoWindingsTransformerDialogTab2[TwoWindingsTransformerDialogTab2["PHASE_TAP_TAB"] = 5] = "PHASE_TAP_TAB";
|
|
13
|
+
return TwoWindingsTransformerDialogTab2;
|
|
14
|
+
})(TwoWindingsTransformerDialogTab || {});
|
|
15
|
+
const TWT_TAB_FIELDS = {
|
|
16
|
+
[
|
|
17
|
+
0
|
|
18
|
+
/* CONNECTIVITY_TAB */
|
|
19
|
+
]: [FieldConstants.CONNECTIVITY],
|
|
20
|
+
[
|
|
21
|
+
1
|
|
22
|
+
/* CHARACTERISTICS_TAB */
|
|
23
|
+
]: [
|
|
24
|
+
FieldConstants.CHARACTERISTICS,
|
|
25
|
+
FieldConstants.ADDITIONAL_PROPERTIES
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
2
|
|
29
|
+
/* LIMITS_TAB */
|
|
30
|
+
]: [FieldConstants.LIMITS],
|
|
31
|
+
[
|
|
32
|
+
3
|
|
33
|
+
/* STATE_ESTIMATION_TAB */
|
|
34
|
+
]: [
|
|
35
|
+
FieldConstants.STATE_ESTIMATION,
|
|
36
|
+
FieldConstants.TO_BE_ESTIMATED
|
|
37
|
+
],
|
|
38
|
+
[
|
|
39
|
+
4
|
|
40
|
+
/* RATIO_TAP_TAB */
|
|
41
|
+
]: [FieldConstants.RATIO_TAP_CHANGER],
|
|
42
|
+
[
|
|
43
|
+
5
|
|
44
|
+
/* PHASE_TAP_TAB */
|
|
45
|
+
]: [FieldConstants.PHASE_TAP_CHANGER]
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
TWT_TAB_FIELDS,
|
|
49
|
+
TwoWindingsTransformerDialogTab
|
|
50
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026, RTE (http://www.rte-france.com)
|
|
3
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
5
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
|
+
*/
|
|
7
|
+
export * from './twoWindingsTransformerCreation.types';
|
|
8
|
+
export * from './twoWindingsTransformerCreation.utils';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PhaseTapChangerRegulationMode } from "./twoWindingsTransformerCreation.types.js";
|
|
2
|
+
import { computeRatioTapChangerRegulationMode, getRegulationTypeForEdit, getTapSideForEdit, twoWindingsTransformerCreationDtoToForm, twoWindingsTransformerCreationEmptyFormData, twoWindingsTransformerCreationFormSchema, twoWindingsTransformerCreationFormToDto } from "./twoWindingsTransformerCreation.utils.js";
|
|
3
|
+
export {
|
|
4
|
+
PhaseTapChangerRegulationMode,
|
|
5
|
+
computeRatioTapChangerRegulationMode,
|
|
6
|
+
getRegulationTypeForEdit,
|
|
7
|
+
getTapSideForEdit,
|
|
8
|
+
twoWindingsTransformerCreationDtoToForm,
|
|
9
|
+
twoWindingsTransformerCreationEmptyFormData,
|
|
10
|
+
twoWindingsTransformerCreationFormSchema,
|
|
11
|
+
twoWindingsTransformerCreationFormToDto
|
|
12
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { UUID } from 'node:crypto';
|
|
2
|
+
import { BranchCreationDto } from '../../common/branch';
|
|
3
|
+
export interface TapChangerStepCreationDto {
|
|
4
|
+
index: number;
|
|
5
|
+
rho: number;
|
|
6
|
+
r: number;
|
|
7
|
+
x: number;
|
|
8
|
+
g: number;
|
|
9
|
+
b: number;
|
|
10
|
+
alpha?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface TapChangerCreationDto {
|
|
13
|
+
lowTapPosition: number;
|
|
14
|
+
tapPosition: number;
|
|
15
|
+
isRegulating: boolean;
|
|
16
|
+
targetDeadband: number | null;
|
|
17
|
+
terminalRefConnectableId: string | null;
|
|
18
|
+
terminalRefConnectableType: string | null;
|
|
19
|
+
terminalRefConnectableVlId: string | null;
|
|
20
|
+
steps: TapChangerStepCreationDto[];
|
|
21
|
+
hasLoadTapChangingCapabilities: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface RatioTapChangerCreationDto extends TapChangerCreationDto {
|
|
24
|
+
targetV: number | null;
|
|
25
|
+
}
|
|
26
|
+
export declare enum PhaseTapChangerRegulationMode {
|
|
27
|
+
CURRENT_LIMITER = "CURRENT_LIMITER",
|
|
28
|
+
ACTIVE_POWER_CONTROL = "ACTIVE_POWER_CONTROL"
|
|
29
|
+
}
|
|
30
|
+
export interface PhaseTapChangerCreationDto extends TapChangerCreationDto {
|
|
31
|
+
regulationMode: PhaseTapChangerRegulationMode | null;
|
|
32
|
+
regulationValue: number | null;
|
|
33
|
+
}
|
|
34
|
+
export interface TwoWindingsTransformerCreationDto extends BranchCreationDto {
|
|
35
|
+
r: number | null;
|
|
36
|
+
x: number;
|
|
37
|
+
g: number;
|
|
38
|
+
b: number;
|
|
39
|
+
ratedS: number | null;
|
|
40
|
+
ratedU1: number;
|
|
41
|
+
ratedU2: number;
|
|
42
|
+
ratioTapChanger: RatioTapChangerCreationDto | null;
|
|
43
|
+
phaseTapChanger: PhaseTapChangerCreationDto | null;
|
|
44
|
+
}
|
|
45
|
+
export type TwoWindingsTransformerCreationDtoWithId = TwoWindingsTransformerCreationDto & {
|
|
46
|
+
uuid?: UUID;
|
|
47
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var PhaseTapChangerRegulationMode = /* @__PURE__ */ ((PhaseTapChangerRegulationMode2) => {
|
|
2
|
+
PhaseTapChangerRegulationMode2["CURRENT_LIMITER"] = "CURRENT_LIMITER";
|
|
3
|
+
PhaseTapChangerRegulationMode2["ACTIVE_POWER_CONTROL"] = "ACTIVE_POWER_CONTROL";
|
|
4
|
+
return PhaseTapChangerRegulationMode2;
|
|
5
|
+
})(PhaseTapChangerRegulationMode || {});
|
|
6
|
+
export {
|
|
7
|
+
PhaseTapChangerRegulationMode
|
|
8
|
+
};
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { InferType } from 'yup';
|
|
2
|
+
import { DeepNullable } from '../../../../utils';
|
|
3
|
+
import { RatioTapChangerCreationDto, TapChangerCreationDto, TwoWindingsTransformerCreationDto } from './twoWindingsTransformerCreation.types';
|
|
4
|
+
import { TapChangerMapInfos } from '../common/twoWindingsTransformer.types';
|
|
5
|
+
export declare const getRegulationTypeForEdit: (twt: TwoWindingsTransformerCreationDto, tap: TapChangerCreationDto | null) => "LOCAL" | "DISTANT" | null;
|
|
6
|
+
export declare const computeRatioTapChangerRegulationMode: (ratioTapChangerFormValues?: RatioTapChangerCreationDto | TapChangerMapInfos | null) => "FIXED_RATIO" | "VOLTAGE_REGULATION";
|
|
7
|
+
export declare const getTapSideForEdit: (twt: TwoWindingsTransformerCreationDto, tap: TapChangerCreationDto | null | undefined) => "SIDE1" | "SIDE2" | null;
|
|
8
|
+
export declare const twoWindingsTransformerCreationFormSchema: import('yup').ObjectSchema<NonNullable<{
|
|
9
|
+
equipmentID: string;
|
|
10
|
+
equipmentName: string | null | undefined;
|
|
11
|
+
connectivity: {
|
|
12
|
+
connectivity1: {
|
|
13
|
+
terminalConnected?: boolean | null | undefined;
|
|
14
|
+
connectionDirection?: string | null | undefined;
|
|
15
|
+
connectionName?: string | undefined;
|
|
16
|
+
connectionPosition?: number | null | undefined;
|
|
17
|
+
busOrBusbarSection: {
|
|
18
|
+
id?: string | undefined;
|
|
19
|
+
} | null;
|
|
20
|
+
voltageLevel: {
|
|
21
|
+
id?: string | undefined;
|
|
22
|
+
} | null;
|
|
23
|
+
};
|
|
24
|
+
connectivity2: {
|
|
25
|
+
terminalConnected?: boolean | null | undefined;
|
|
26
|
+
connectionDirection?: string | null | undefined;
|
|
27
|
+
connectionName?: string | undefined;
|
|
28
|
+
connectionPosition?: number | null | undefined;
|
|
29
|
+
busOrBusbarSection: {
|
|
30
|
+
id?: string | undefined;
|
|
31
|
+
} | null;
|
|
32
|
+
voltageLevel: {
|
|
33
|
+
id?: string | undefined;
|
|
34
|
+
} | null;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
characteristics: {
|
|
38
|
+
b?: number | null | undefined;
|
|
39
|
+
g?: number | null | undefined;
|
|
40
|
+
ratedS?: number | null | undefined;
|
|
41
|
+
ratedU1?: number | null | undefined;
|
|
42
|
+
ratedU2?: number | null | undefined;
|
|
43
|
+
r?: number | null | undefined;
|
|
44
|
+
x?: number | null | undefined;
|
|
45
|
+
};
|
|
46
|
+
limits: {
|
|
47
|
+
operationalLimitsGroups?: {
|
|
48
|
+
AdditionalProperties?: {
|
|
49
|
+
previousValue?: string | null | undefined;
|
|
50
|
+
added: NonNullable<boolean | undefined>;
|
|
51
|
+
deletionMark: NonNullable<boolean | undefined>;
|
|
52
|
+
name: string;
|
|
53
|
+
value: string;
|
|
54
|
+
}[] | undefined;
|
|
55
|
+
limitsProperties?: {
|
|
56
|
+
name: string;
|
|
57
|
+
value: string;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
operationalLimitsGroupsIsDuplicate?: boolean | null | undefined;
|
|
60
|
+
applicability: string;
|
|
61
|
+
currentLimits: {
|
|
62
|
+
temporaryLimits?: {
|
|
63
|
+
name?: string | null | undefined;
|
|
64
|
+
value?: number | null | undefined;
|
|
65
|
+
acceptableDuration?: number | null | undefined;
|
|
66
|
+
}[] | undefined;
|
|
67
|
+
permanentLimit: number;
|
|
68
|
+
};
|
|
69
|
+
id: string;
|
|
70
|
+
name: string;
|
|
71
|
+
}[] | undefined;
|
|
72
|
+
selectedOperationalLimitsGroupId1?: string | null | undefined;
|
|
73
|
+
selectedOperationalLimitsGroupId2?: string | null | undefined;
|
|
74
|
+
enableOLGModification: NonNullable<boolean | undefined>;
|
|
75
|
+
};
|
|
76
|
+
ratioTapChanger: {
|
|
77
|
+
highTapPosition?: number | null | undefined;
|
|
78
|
+
hasLoadTapChangingCapabilities?: boolean | null | undefined;
|
|
79
|
+
lowTapPosition?: number | null | undefined;
|
|
80
|
+
regulationMode?: string | null | undefined;
|
|
81
|
+
regulationSide?: string | null | undefined;
|
|
82
|
+
regulationType?: string | null | undefined;
|
|
83
|
+
steps?: {
|
|
84
|
+
b?: number | undefined;
|
|
85
|
+
g?: number | undefined;
|
|
86
|
+
r?: number | undefined;
|
|
87
|
+
x?: number | undefined;
|
|
88
|
+
rho?: number | undefined;
|
|
89
|
+
index: number;
|
|
90
|
+
}[] | undefined;
|
|
91
|
+
targetDeadband?: {} | null | undefined;
|
|
92
|
+
targetV?: {} | null | undefined;
|
|
93
|
+
tapPosition?: number | null | undefined;
|
|
94
|
+
enabled: NonNullable<boolean | undefined>;
|
|
95
|
+
equipment: {
|
|
96
|
+
id?: string | undefined;
|
|
97
|
+
name?: string | null | undefined;
|
|
98
|
+
type?: string | undefined;
|
|
99
|
+
} | null;
|
|
100
|
+
voltageLevel: {
|
|
101
|
+
id?: string | undefined;
|
|
102
|
+
name?: string | undefined;
|
|
103
|
+
nominalVoltage?: string | undefined;
|
|
104
|
+
substationId?: string | undefined;
|
|
105
|
+
topologyKind?: string | null | undefined;
|
|
106
|
+
} | null;
|
|
107
|
+
};
|
|
108
|
+
phaseTapChanger: {
|
|
109
|
+
currentLimiterRegulatingValue?: number | null | undefined;
|
|
110
|
+
flowSetPointRegulatingValue?: number | null | undefined;
|
|
111
|
+
highTapPosition?: number | null | undefined;
|
|
112
|
+
lowTapPosition?: number | null | undefined;
|
|
113
|
+
regulationMode?: string | null | undefined;
|
|
114
|
+
regulationSide?: string | null | undefined;
|
|
115
|
+
regulationType?: string | null | undefined;
|
|
116
|
+
steps?: {
|
|
117
|
+
b?: number | undefined;
|
|
118
|
+
g?: number | undefined;
|
|
119
|
+
r?: number | undefined;
|
|
120
|
+
x?: number | undefined;
|
|
121
|
+
rho?: number | undefined;
|
|
122
|
+
alpha?: number | undefined;
|
|
123
|
+
index: number;
|
|
124
|
+
}[] | undefined;
|
|
125
|
+
targetDeadband?: number | null | undefined;
|
|
126
|
+
tapPosition?: number | null | undefined;
|
|
127
|
+
enabled: NonNullable<boolean | undefined>;
|
|
128
|
+
equipment: {
|
|
129
|
+
id?: string | undefined;
|
|
130
|
+
name?: string | null | undefined;
|
|
131
|
+
type?: string | undefined;
|
|
132
|
+
} | null;
|
|
133
|
+
voltageLevel: {
|
|
134
|
+
id?: string | undefined;
|
|
135
|
+
name?: string | undefined;
|
|
136
|
+
nominalVoltage?: string | undefined;
|
|
137
|
+
substationId?: string | undefined;
|
|
138
|
+
topologyKind?: string | null | undefined;
|
|
139
|
+
} | null;
|
|
140
|
+
};
|
|
141
|
+
} & {
|
|
142
|
+
AdditionalProperties: {
|
|
143
|
+
previousValue?: string | null | undefined;
|
|
144
|
+
added: NonNullable<boolean | undefined>;
|
|
145
|
+
deletionMark: NonNullable<boolean | undefined>;
|
|
146
|
+
name: string;
|
|
147
|
+
value: string;
|
|
148
|
+
}[] | undefined;
|
|
149
|
+
}>, import('yup').AnyObject, {
|
|
150
|
+
equipmentID: undefined;
|
|
151
|
+
equipmentName: undefined;
|
|
152
|
+
connectivity: {
|
|
153
|
+
connectivity1: {
|
|
154
|
+
voltageLevel: {
|
|
155
|
+
id: undefined;
|
|
156
|
+
};
|
|
157
|
+
busOrBusbarSection: {
|
|
158
|
+
id: undefined;
|
|
159
|
+
};
|
|
160
|
+
connectionDirection: undefined;
|
|
161
|
+
connectionName: undefined;
|
|
162
|
+
connectionPosition: undefined;
|
|
163
|
+
terminalConnected: undefined;
|
|
164
|
+
};
|
|
165
|
+
connectivity2: {
|
|
166
|
+
voltageLevel: {
|
|
167
|
+
id: undefined;
|
|
168
|
+
};
|
|
169
|
+
busOrBusbarSection: {
|
|
170
|
+
id: undefined;
|
|
171
|
+
};
|
|
172
|
+
connectionDirection: undefined;
|
|
173
|
+
connectionName: undefined;
|
|
174
|
+
connectionPosition: undefined;
|
|
175
|
+
terminalConnected: undefined;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
characteristics: {
|
|
179
|
+
r: undefined;
|
|
180
|
+
x: undefined;
|
|
181
|
+
g: undefined;
|
|
182
|
+
b: undefined;
|
|
183
|
+
ratedS: undefined;
|
|
184
|
+
ratedU1: undefined;
|
|
185
|
+
ratedU2: undefined;
|
|
186
|
+
};
|
|
187
|
+
limits: {
|
|
188
|
+
operationalLimitsGroups: undefined;
|
|
189
|
+
selectedOperationalLimitsGroupId1: undefined;
|
|
190
|
+
selectedOperationalLimitsGroupId2: undefined;
|
|
191
|
+
enableOLGModification: undefined;
|
|
192
|
+
};
|
|
193
|
+
ratioTapChanger: {
|
|
194
|
+
voltageLevel: {
|
|
195
|
+
id: undefined;
|
|
196
|
+
name: undefined;
|
|
197
|
+
substationId: undefined;
|
|
198
|
+
nominalVoltage: undefined;
|
|
199
|
+
topologyKind: undefined;
|
|
200
|
+
};
|
|
201
|
+
equipment: {
|
|
202
|
+
id: undefined;
|
|
203
|
+
name: undefined;
|
|
204
|
+
type: undefined;
|
|
205
|
+
};
|
|
206
|
+
enabled: undefined;
|
|
207
|
+
hasLoadTapChangingCapabilities: undefined;
|
|
208
|
+
regulationMode: undefined;
|
|
209
|
+
regulationType: undefined;
|
|
210
|
+
regulationSide: undefined;
|
|
211
|
+
targetV: undefined;
|
|
212
|
+
targetDeadband: undefined;
|
|
213
|
+
lowTapPosition: undefined;
|
|
214
|
+
highTapPosition: undefined;
|
|
215
|
+
tapPosition: undefined;
|
|
216
|
+
steps: "";
|
|
217
|
+
};
|
|
218
|
+
phaseTapChanger: {
|
|
219
|
+
voltageLevel: {
|
|
220
|
+
id: undefined;
|
|
221
|
+
name: undefined;
|
|
222
|
+
substationId: undefined;
|
|
223
|
+
nominalVoltage: undefined;
|
|
224
|
+
topologyKind: undefined;
|
|
225
|
+
};
|
|
226
|
+
equipment: {
|
|
227
|
+
id: undefined;
|
|
228
|
+
name: undefined;
|
|
229
|
+
type: undefined;
|
|
230
|
+
};
|
|
231
|
+
enabled: undefined;
|
|
232
|
+
regulationMode: undefined;
|
|
233
|
+
regulationType: undefined;
|
|
234
|
+
regulationSide: undefined;
|
|
235
|
+
currentLimiterRegulatingValue: undefined;
|
|
236
|
+
flowSetPointRegulatingValue: undefined;
|
|
237
|
+
targetDeadband: undefined;
|
|
238
|
+
lowTapPosition: undefined;
|
|
239
|
+
highTapPosition: undefined;
|
|
240
|
+
tapPosition: undefined;
|
|
241
|
+
steps: "";
|
|
242
|
+
};
|
|
243
|
+
AdditionalProperties: "";
|
|
244
|
+
}, "">;
|
|
245
|
+
export type TwoWindingsTransformerCreationFormData = InferType<typeof twoWindingsTransformerCreationFormSchema>;
|
|
246
|
+
export declare const twoWindingsTransformerCreationEmptyFormData: DeepNullable<TwoWindingsTransformerCreationFormData>;
|
|
247
|
+
export declare const twoWindingsTransformerCreationDtoToForm: (twtDto: TwoWindingsTransformerCreationDto) => TwoWindingsTransformerCreationFormData;
|
|
248
|
+
export declare const twoWindingsTransformerCreationFormToDto: (twtForm: TwoWindingsTransformerCreationFormData) => TwoWindingsTransformerCreationDto;
|