@gridsuite/commons-ui 0.270.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 +87 -2
- 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 +87 -2
- 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/index.js +98 -6
- 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 +70 -9
- package/dist/translations/en/networkModificationsEn.js +71 -10
- 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 +70 -9
- package/dist/translations/fr/networkModificationsFr.js +71 -10
- 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,88 @@
|
|
|
1
|
+
import { TWT_TAB_FIELDS, TwoWindingsTransformerDialogTab } from "./common/twoWindingsTransformer.utils.js";
|
|
2
|
+
import { TwoWindingsTransformerDialogHeader } from "./common/TwoWindingsTransformerDialogHeader.js";
|
|
3
|
+
import { TwoWindingsTransformerDialogTabs } from "./common/TwoWindingsTransformerDialogTabs.js";
|
|
4
|
+
import { TwoWindingsTransformerDialogTabsContent } from "./common/TwoWindingsTransformerDialogTabsContent.js";
|
|
5
|
+
import { TwoWindingsTransformerForm } from "./common/TwoWindingsTransformerForm.js";
|
|
6
|
+
import { getTwtCharacteristicsEmptyFormData, getTwtCharacteristicsFormData, getTwtCharacteristicsValidationSchemaProps } from "./characteristics/twoWindingsTransformerCharacteristicsPane.utils.js";
|
|
7
|
+
import { TwoWindingsTransformerCharacteristicsPane } from "./characteristics/TwoWindingsTransformerCharacteristicsPane.js";
|
|
8
|
+
import { compareStepsWithPreviousValues, computeHighTapPosition, getRegulationTypeLabel, getTapChangerEquipmentSectionTypeValue, getTapSideLabel, toTapChangerStepList } from "./tapChanger/tapChanger.utils.js";
|
|
9
|
+
import { getCreateRuleEmptyFormData, getCreateRuleValidationSchema } from "./tapChanger/regulationRule/regulationRule.utils.js";
|
|
10
|
+
import { CreateRuleDialogSubmitButton } from "./tapChanger/regulationRule/CreateRuleDialogSubmitButton.js";
|
|
11
|
+
import { CreateRuleForm } from "./tapChanger/regulationRule/CreateRuleForm.js";
|
|
12
|
+
import { CreateRuleDialog } from "./tapChanger/regulationRule/CreateRuleDialog.js";
|
|
13
|
+
import { ImportRuleDialog } from "./tapChanger/regulationRule/ImportRuleDialog.js";
|
|
14
|
+
import { getComputedPhaseRegulationType, getComputedPhaseRegulationTypeId, getComputedPhaseTapChangerRegulationMode, getComputedPreviousPhaseRegulationType, getPhaseTapChangerEmptyFormData, getPhaseTapChangerFormData, getPhaseTapChangerValidationSchemaProps, getPhaseTapRegulationSideId } from "./tapChanger/phaseTapChanger/phaseTapChanger.utils.js";
|
|
15
|
+
import { PhaseTapChangerPaneSteps } from "./tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.js";
|
|
16
|
+
import { PhaseTapChangerPane } from "./tapChanger/phaseTapChanger/PhaseTapChangerPane.js";
|
|
17
|
+
import { getComputedPreviousRatioRegulationType, getComputedRegulationMode, getComputedRegulationModeId, getComputedRegulationType, getComputedRegulationTypeId, getComputedTapSide, getComputedTapSideId, getInitialTwtRatioRegulationModeId, getRatioTapChangerEmptyFormData, getRatioTapChangerFormData, getRatioTapChangerValidationSchemaProps } from "./tapChanger/ratioTapChanger/ratioTapChanger.utils.js";
|
|
18
|
+
import { RatioTapChangerPaneSteps } from "./tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.js";
|
|
19
|
+
import { RatioTapChangerPane } from "./tapChanger/ratioTapChanger/RatioTapChangerPane.js";
|
|
20
|
+
import { RegulatedTerminalSection } from "./tapChanger/RegulatedTerminalSection.js";
|
|
21
|
+
import { TapChangerSteps } from "./tapChanger/TapChangerSteps.js";
|
|
22
|
+
import { PhaseTapChangerRegulationMode } from "./creation/twoWindingsTransformerCreation.types.js";
|
|
23
|
+
import { computeRatioTapChangerRegulationMode, getRegulationTypeForEdit, getTapSideForEdit, twoWindingsTransformerCreationDtoToForm, twoWindingsTransformerCreationEmptyFormData, twoWindingsTransformerCreationFormSchema, twoWindingsTransformerCreationFormToDto } from "./creation/twoWindingsTransformerCreation.utils.js";
|
|
24
|
+
import { twoWindingsTransformerModificationEmptyFormData, twoWindingsTransformerModificationFormSchema } from "./modification/twoWindingsTransformerModification.utils.js";
|
|
25
|
+
import { getToBeEstimatedValidationSchemaObject, toBeEstimatedEmptyFormData } from "./modification/measurements/toBeEstimated.utils.js";
|
|
26
|
+
import { ToBeEstimatedForm } from "./modification/measurements/ToBeEstimatedForm.js";
|
|
27
|
+
export {
|
|
28
|
+
CreateRuleDialog,
|
|
29
|
+
CreateRuleDialogSubmitButton,
|
|
30
|
+
CreateRuleForm,
|
|
31
|
+
ImportRuleDialog,
|
|
32
|
+
PhaseTapChangerPane,
|
|
33
|
+
PhaseTapChangerPaneSteps,
|
|
34
|
+
PhaseTapChangerRegulationMode,
|
|
35
|
+
RatioTapChangerPane,
|
|
36
|
+
RatioTapChangerPaneSteps,
|
|
37
|
+
RegulatedTerminalSection,
|
|
38
|
+
TWT_TAB_FIELDS,
|
|
39
|
+
TapChangerSteps,
|
|
40
|
+
ToBeEstimatedForm,
|
|
41
|
+
TwoWindingsTransformerCharacteristicsPane,
|
|
42
|
+
TwoWindingsTransformerDialogHeader,
|
|
43
|
+
TwoWindingsTransformerDialogTab,
|
|
44
|
+
TwoWindingsTransformerDialogTabs,
|
|
45
|
+
TwoWindingsTransformerDialogTabsContent,
|
|
46
|
+
TwoWindingsTransformerForm,
|
|
47
|
+
compareStepsWithPreviousValues,
|
|
48
|
+
computeHighTapPosition,
|
|
49
|
+
computeRatioTapChangerRegulationMode,
|
|
50
|
+
getComputedPhaseRegulationType,
|
|
51
|
+
getComputedPhaseRegulationTypeId,
|
|
52
|
+
getComputedPhaseTapChangerRegulationMode,
|
|
53
|
+
getComputedPreviousPhaseRegulationType,
|
|
54
|
+
getComputedPreviousRatioRegulationType,
|
|
55
|
+
getComputedRegulationMode,
|
|
56
|
+
getComputedRegulationModeId,
|
|
57
|
+
getComputedRegulationType,
|
|
58
|
+
getComputedRegulationTypeId,
|
|
59
|
+
getComputedTapSide,
|
|
60
|
+
getComputedTapSideId,
|
|
61
|
+
getCreateRuleEmptyFormData,
|
|
62
|
+
getCreateRuleValidationSchema,
|
|
63
|
+
getInitialTwtRatioRegulationModeId,
|
|
64
|
+
getPhaseTapChangerEmptyFormData,
|
|
65
|
+
getPhaseTapChangerFormData,
|
|
66
|
+
getPhaseTapChangerValidationSchemaProps,
|
|
67
|
+
getPhaseTapRegulationSideId,
|
|
68
|
+
getRatioTapChangerEmptyFormData,
|
|
69
|
+
getRatioTapChangerFormData,
|
|
70
|
+
getRatioTapChangerValidationSchemaProps,
|
|
71
|
+
getRegulationTypeForEdit,
|
|
72
|
+
getRegulationTypeLabel,
|
|
73
|
+
getTapChangerEquipmentSectionTypeValue,
|
|
74
|
+
getTapSideForEdit,
|
|
75
|
+
getTapSideLabel,
|
|
76
|
+
getToBeEstimatedValidationSchemaObject,
|
|
77
|
+
getTwtCharacteristicsEmptyFormData,
|
|
78
|
+
getTwtCharacteristicsFormData,
|
|
79
|
+
getTwtCharacteristicsValidationSchemaProps,
|
|
80
|
+
toBeEstimatedEmptyFormData,
|
|
81
|
+
toTapChangerStepList,
|
|
82
|
+
twoWindingsTransformerCreationDtoToForm,
|
|
83
|
+
twoWindingsTransformerCreationEmptyFormData,
|
|
84
|
+
twoWindingsTransformerCreationFormSchema,
|
|
85
|
+
twoWindingsTransformerCreationFormToDto,
|
|
86
|
+
twoWindingsTransformerModificationEmptyFormData,
|
|
87
|
+
twoWindingsTransformerModificationFormSchema
|
|
88
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
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 './twoWindingsTransformerModification.types';
|
|
8
|
+
export * from './twoWindingsTransformerModification.utils';
|
|
9
|
+
export * from './measurements';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { twoWindingsTransformerModificationEmptyFormData, twoWindingsTransformerModificationFormSchema } from "./twoWindingsTransformerModification.utils.js";
|
|
2
|
+
import { getToBeEstimatedValidationSchemaObject, toBeEstimatedEmptyFormData } from "./measurements/toBeEstimated.utils.js";
|
|
3
|
+
import { ToBeEstimatedForm } from "./measurements/ToBeEstimatedForm.js";
|
|
4
|
+
export {
|
|
5
|
+
ToBeEstimatedForm,
|
|
6
|
+
getToBeEstimatedValidationSchemaObject,
|
|
7
|
+
toBeEstimatedEmptyFormData,
|
|
8
|
+
twoWindingsTransformerModificationEmptyFormData,
|
|
9
|
+
twoWindingsTransformerModificationFormSchema
|
|
10
|
+
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Stack, Box } from "@mui/material";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
|
+
import { useIntl } from "react-intl";
|
|
5
|
+
import { FieldConstants } from "../../../../../utils/constants/fieldConstants.js";
|
|
6
|
+
import "../../../../../utils/conversionUtils.js";
|
|
7
|
+
import "../../../../../utils/types/equipmentType.js";
|
|
8
|
+
import "@mui/icons-material";
|
|
9
|
+
import "../../../../../components/ui/overflowableText/OverflowableText.js";
|
|
10
|
+
import "react-hook-form";
|
|
11
|
+
import "localized-countries";
|
|
12
|
+
import "localized-countries/data/fr";
|
|
13
|
+
import "localized-countries/data/en";
|
|
14
|
+
import "notistack";
|
|
15
|
+
import "../../../../../components/ui/reactHookForm/provider/CustomFormProvider.js";
|
|
16
|
+
import "yup";
|
|
17
|
+
import "../../../../../components/ui/treeViewFinder/TreeViewFinder.js";
|
|
18
|
+
import "../../../../../components/ui/reactHookForm/numbers/RangeInput.js";
|
|
19
|
+
import "@material-symbols/svg-400/outlined/left_panel_open.svg?react";
|
|
20
|
+
import "@material-symbols/svg-400/outlined/arrows_output.svg?react";
|
|
21
|
+
import "@material-symbols/svg-400/outlined/arrows_input.svg?react";
|
|
22
|
+
import "@material-symbols/svg-400/outlined/left_panel_close.svg?react";
|
|
23
|
+
import "@material-symbols/svg-400/outlined/add_notes-fill.svg?react";
|
|
24
|
+
import "../../../../../components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js";
|
|
25
|
+
import "../../../../../components/ui/reactHookForm/expandableInput/ExpandableInput.js";
|
|
26
|
+
import { CheckboxNullableInput } from "../../../../../components/ui/reactHookForm/CheckboxNullableInput.js";
|
|
27
|
+
import "../../../../../components/ui/reactHookForm/directory-item-input/directory-item-utils.js";
|
|
28
|
+
import "@hello-pangea/dnd";
|
|
29
|
+
import "../../../../../components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js";
|
|
30
|
+
import "../../../../../components/ui/snackbarProvider/SnackbarProvider.js";
|
|
31
|
+
import "mui-nested-menu";
|
|
32
|
+
import "react-resizable-panels";
|
|
33
|
+
import "react-papaparse";
|
|
34
|
+
import "react-dom";
|
|
35
|
+
import "autosuggest-highlight/match";
|
|
36
|
+
import "autosuggest-highlight/parse";
|
|
37
|
+
import "clsx";
|
|
38
|
+
import "../../../../../components/composite/filter/FilterCreationDialog.js";
|
|
39
|
+
import "../../../../../components/composite/filter/HeaderFilterForm.js";
|
|
40
|
+
import "../../../../../components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js";
|
|
41
|
+
import "../../../../../components/composite/filter/expert/ExpertFilterForm.js";
|
|
42
|
+
import "../../../../../components/composite/filter/expert/ExpertFilterEditionDialog.js";
|
|
43
|
+
import "../../../../../components/composite/filter/expert/expertFilterConstants.js";
|
|
44
|
+
import "react-querybuilder";
|
|
45
|
+
import "uuid";
|
|
46
|
+
import "../../../../../components/composite/filter/explicitNaming/ExplicitNamingFilterEditionDialog.js";
|
|
47
|
+
import "../../../../../components/composite/filter/utils/filterFormUtils.js";
|
|
48
|
+
import { GridSection } from "../../../../../components/composite/grid/grid-section.js";
|
|
49
|
+
import "@react-querybuilder/material";
|
|
50
|
+
import "../../../../../components/composite/reactQueryBuilder/CustomReactQueryBuilder.js";
|
|
51
|
+
import "../../../../../components/composite/reactQueryBuilder/PropertyValueEditor.js";
|
|
52
|
+
import "../../../../../components/composite/agGridTable/BottomTableButtons.js";
|
|
53
|
+
import "../../../../../components/composite/agGridTable/CustomAgGridTable.js";
|
|
54
|
+
import "ag-grid-community";
|
|
55
|
+
import "../../../../../components/composite/customAGGrid/customAggrid.js";
|
|
56
|
+
import "../../../../../components/composite/customAGGrid/context/custom-aggrid-context.js";
|
|
57
|
+
import "mathjs";
|
|
58
|
+
import "../../../../../components/composite/report/report-viewer/log-table/log-table.js";
|
|
59
|
+
import "react-window";
|
|
60
|
+
import "../../../../../components/composite/report/report-treeview/treeview-item.js";
|
|
61
|
+
import "../../../../../components/composite/report/report-viewer/context/report-viewer-context.js";
|
|
62
|
+
function ToBeEstimatedForm({ toBeEstimated }) {
|
|
63
|
+
const intl = useIntl();
|
|
64
|
+
const ratioTapChangerStatusId = `${FieldConstants.TO_BE_ESTIMATED}.${FieldConstants.RATIO_TAP_CHANGER_STATUS}`;
|
|
65
|
+
const phaseTapChangerStatusId = `${FieldConstants.TO_BE_ESTIMATED}.${FieldConstants.PHASE_TAP_CHANGER_STATUS}`;
|
|
66
|
+
const previousRatioStatusField = useMemo(() => {
|
|
67
|
+
if (toBeEstimated?.ratioTapChangerStatus == null) {
|
|
68
|
+
return "";
|
|
69
|
+
}
|
|
70
|
+
return toBeEstimated.ratioTapChangerStatus ? intl.formatMessage({ id: "true" }) : intl.formatMessage({ id: "false" });
|
|
71
|
+
}, [intl, toBeEstimated?.ratioTapChangerStatus]);
|
|
72
|
+
const previousPhaseStatusField = useMemo(() => {
|
|
73
|
+
if (toBeEstimated?.phaseTapChangerStatus == null) {
|
|
74
|
+
return "";
|
|
75
|
+
}
|
|
76
|
+
return toBeEstimated.phaseTapChangerStatus ? intl.formatMessage({ id: "true" }) : intl.formatMessage({ id: "false" });
|
|
77
|
+
}, [intl, toBeEstimated?.phaseTapChangerStatus]);
|
|
78
|
+
const ratioTapChangerStatusField = /* @__PURE__ */ jsx(
|
|
79
|
+
CheckboxNullableInput,
|
|
80
|
+
{
|
|
81
|
+
name: ratioTapChangerStatusId,
|
|
82
|
+
label: "RatioTapChangerEstimateTapPosition",
|
|
83
|
+
previousValue: previousRatioStatusField
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
const phaseTapChangerStatusField = /* @__PURE__ */ jsx(
|
|
87
|
+
CheckboxNullableInput,
|
|
88
|
+
{
|
|
89
|
+
name: phaseTapChangerStatusId,
|
|
90
|
+
label: "PhaseTapChangerEstimateTapPosition",
|
|
91
|
+
previousValue: previousPhaseStatusField
|
|
92
|
+
}
|
|
93
|
+
);
|
|
94
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
95
|
+
/* @__PURE__ */ jsx(GridSection, { title: "EstimateTapPositionSection" }),
|
|
96
|
+
/* @__PURE__ */ jsxs(Stack, { spacing: 2, children: [
|
|
97
|
+
/* @__PURE__ */ jsx(Box, { sx: { width: "50%" }, children: ratioTapChangerStatusField }),
|
|
98
|
+
/* @__PURE__ */ jsx(Box, { sx: { width: "50%" }, children: phaseTapChangerStatusField })
|
|
99
|
+
] })
|
|
100
|
+
] });
|
|
101
|
+
}
|
|
102
|
+
export {
|
|
103
|
+
ToBeEstimatedForm
|
|
104
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
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 './toBeEstimated.type';
|
|
8
|
+
export * from './toBeEstimated.utils';
|
|
9
|
+
export * from './ToBeEstimatedForm';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { getToBeEstimatedValidationSchemaObject, toBeEstimatedEmptyFormData } from "./toBeEstimated.utils.js";
|
|
2
|
+
import { ToBeEstimatedForm } from "./ToBeEstimatedForm.js";
|
|
3
|
+
export {
|
|
4
|
+
ToBeEstimatedForm,
|
|
5
|
+
getToBeEstimatedValidationSchemaObject,
|
|
6
|
+
toBeEstimatedEmptyFormData
|
|
7
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 interface ToBeEstimatedInfo {
|
|
8
|
+
ratioTapChangerStatus?: boolean;
|
|
9
|
+
phaseTapChangerStatus?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InferType } from 'yup';
|
|
2
|
+
import { DeepNullable } from '../../../../../utils';
|
|
3
|
+
export declare const getToBeEstimatedValidationSchemaObject: () => import('yup').ObjectSchema<{
|
|
4
|
+
ratioTapChangerStatus: boolean | null | undefined;
|
|
5
|
+
phaseTapChangerStatus: boolean | null | undefined;
|
|
6
|
+
}, import('yup').AnyObject, {
|
|
7
|
+
ratioTapChangerStatus: undefined;
|
|
8
|
+
phaseTapChangerStatus: undefined;
|
|
9
|
+
}, "">;
|
|
10
|
+
type ToBeEstimatedFormData = InferType<ReturnType<typeof getToBeEstimatedValidationSchemaObject>>;
|
|
11
|
+
export declare const toBeEstimatedEmptyFormData: DeepNullable<ToBeEstimatedFormData>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { object, boolean } from "yup";
|
|
2
|
+
import { FieldConstants } from "../../../../../utils/constants/fieldConstants.js";
|
|
3
|
+
import "../../../../../utils/conversionUtils.js";
|
|
4
|
+
import "../../../../../utils/types/equipmentType.js";
|
|
5
|
+
import "react/jsx-runtime";
|
|
6
|
+
import "@mui/icons-material";
|
|
7
|
+
const getToBeEstimatedValidationSchemaObject = () => object().shape({
|
|
8
|
+
[FieldConstants.RATIO_TAP_CHANGER_STATUS]: boolean().nullable(),
|
|
9
|
+
[FieldConstants.PHASE_TAP_CHANGER_STATUS]: boolean().nullable()
|
|
10
|
+
});
|
|
11
|
+
const toBeEstimatedEmptyFormData = {
|
|
12
|
+
[FieldConstants.RATIO_TAP_CHANGER_STATUS]: null,
|
|
13
|
+
[FieldConstants.PHASE_TAP_CHANGER_STATUS]: null
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
getToBeEstimatedValidationSchemaObject,
|
|
17
|
+
toBeEstimatedEmptyFormData
|
|
18
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UUID } from 'node:crypto';
|
|
2
|
+
import { BranchModificationDto } from '../../common/branch/branchModification.types';
|
|
3
|
+
import { AttributeModification } from '../../../../utils';
|
|
4
|
+
import { TapChangerStepCreationDto } from '../creation/twoWindingsTransformerCreation.types';
|
|
5
|
+
export interface TapChangerModificationDto {
|
|
6
|
+
enabled: AttributeModification<boolean> | null;
|
|
7
|
+
regulationType: AttributeModification<string> | null;
|
|
8
|
+
regulationSide: AttributeModification<string> | null;
|
|
9
|
+
lowTapPosition: AttributeModification<number> | null;
|
|
10
|
+
tapPosition: AttributeModification<number> | null;
|
|
11
|
+
isRegulating: AttributeModification<boolean> | null;
|
|
12
|
+
targetDeadband: AttributeModification<number> | null;
|
|
13
|
+
terminalRefConnectableId: AttributeModification<string> | null;
|
|
14
|
+
terminalRefConnectableType: AttributeModification<string> | null;
|
|
15
|
+
terminalRefConnectableVlId: AttributeModification<string> | null;
|
|
16
|
+
steps: TapChangerStepCreationDto[] | null;
|
|
17
|
+
hasLoadTapChangingCapabilities: AttributeModification<boolean> | null;
|
|
18
|
+
}
|
|
19
|
+
export interface RatioTapChangerModificationDto extends TapChangerModificationDto {
|
|
20
|
+
targetV: AttributeModification<number> | null;
|
|
21
|
+
}
|
|
22
|
+
export interface PhaseTapChangerModificationDto extends TapChangerModificationDto {
|
|
23
|
+
regulationMode: AttributeModification<string> | null;
|
|
24
|
+
regulationValue: AttributeModification<number> | null;
|
|
25
|
+
}
|
|
26
|
+
export interface TwoWindingsTransformerModificationDto extends BranchModificationDto {
|
|
27
|
+
g: AttributeModification<number> | null;
|
|
28
|
+
b: AttributeModification<number> | null;
|
|
29
|
+
ratedU1: AttributeModification<number> | null;
|
|
30
|
+
ratedU2: AttributeModification<number> | null;
|
|
31
|
+
ratedS: AttributeModification<number> | null;
|
|
32
|
+
ratioTapChanger: RatioTapChangerModificationDto | null;
|
|
33
|
+
phaseTapChanger: PhaseTapChangerModificationDto | null;
|
|
34
|
+
ratioTapChangerToBeEstimated: AttributeModification<boolean> | null;
|
|
35
|
+
phaseTapChangerToBeEstimated: AttributeModification<boolean> | null;
|
|
36
|
+
}
|
|
37
|
+
export type TwoWindingsTransformerModificationDtoWithId = TwoWindingsTransformerModificationDto & {
|
|
38
|
+
uuid?: UUID;
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { InferType } from 'yup';
|
|
2
|
+
import { DeepNullable } from '../../../../utils';
|
|
3
|
+
export declare const twoWindingsTransformerModificationFormSchema: import('yup').ObjectSchema<NonNullable<{
|
|
4
|
+
equipmentID: string;
|
|
5
|
+
equipmentName: string | null | undefined;
|
|
6
|
+
connectivity: {
|
|
7
|
+
connectivity1: {
|
|
8
|
+
terminalConnected?: boolean | null | undefined;
|
|
9
|
+
connectionDirection?: string | null | undefined;
|
|
10
|
+
connectionName?: string | undefined;
|
|
11
|
+
connectionPosition?: number | null | undefined;
|
|
12
|
+
busOrBusbarSection: {
|
|
13
|
+
id?: string | undefined;
|
|
14
|
+
} | null;
|
|
15
|
+
voltageLevel: {
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
} | null;
|
|
18
|
+
};
|
|
19
|
+
connectivity2: {
|
|
20
|
+
terminalConnected?: boolean | null | undefined;
|
|
21
|
+
connectionDirection?: string | null | undefined;
|
|
22
|
+
connectionName?: string | undefined;
|
|
23
|
+
connectionPosition?: number | null | undefined;
|
|
24
|
+
busOrBusbarSection: {
|
|
25
|
+
id?: string | undefined;
|
|
26
|
+
} | null;
|
|
27
|
+
voltageLevel: {
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
} | null;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
characteristics: {
|
|
33
|
+
b?: number | null | undefined;
|
|
34
|
+
g?: number | null | undefined;
|
|
35
|
+
ratedS?: number | null | undefined;
|
|
36
|
+
ratedU1?: number | null | undefined;
|
|
37
|
+
ratedU2?: number | null | undefined;
|
|
38
|
+
r?: number | null | undefined;
|
|
39
|
+
x?: number | null | undefined;
|
|
40
|
+
};
|
|
41
|
+
stateEstimation: {
|
|
42
|
+
[x: string]: {
|
|
43
|
+
validity?: boolean | null | undefined;
|
|
44
|
+
value?: number | null | undefined;
|
|
45
|
+
};
|
|
46
|
+
[x: number]: {
|
|
47
|
+
validity?: boolean | null | undefined;
|
|
48
|
+
value?: number | null | undefined;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
toBeEstimated: {
|
|
52
|
+
phaseTapChangerStatus?: boolean | null | undefined;
|
|
53
|
+
ratioTapChangerStatus?: boolean | null | undefined;
|
|
54
|
+
};
|
|
55
|
+
limits: {
|
|
56
|
+
operationalLimitsGroups?: {
|
|
57
|
+
AdditionalProperties?: {
|
|
58
|
+
previousValue?: string | null | undefined;
|
|
59
|
+
added: NonNullable<boolean | undefined>;
|
|
60
|
+
deletionMark: NonNullable<boolean | undefined>;
|
|
61
|
+
name: string;
|
|
62
|
+
value: string;
|
|
63
|
+
}[] | undefined;
|
|
64
|
+
limitsProperties?: {
|
|
65
|
+
name: string;
|
|
66
|
+
value: string;
|
|
67
|
+
}[] | undefined;
|
|
68
|
+
operationalLimitsGroupsIsDuplicate?: boolean | null | undefined;
|
|
69
|
+
applicability: string;
|
|
70
|
+
currentLimits: {
|
|
71
|
+
temporaryLimits?: {
|
|
72
|
+
name?: string | null | undefined;
|
|
73
|
+
value?: number | null | undefined;
|
|
74
|
+
acceptableDuration?: number | null | undefined;
|
|
75
|
+
}[] | undefined;
|
|
76
|
+
permanentLimit: number;
|
|
77
|
+
};
|
|
78
|
+
id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
}[] | undefined;
|
|
81
|
+
selectedOperationalLimitsGroupId1?: string | null | undefined;
|
|
82
|
+
selectedOperationalLimitsGroupId2?: string | null | undefined;
|
|
83
|
+
enableOLGModification: NonNullable<boolean | undefined>;
|
|
84
|
+
};
|
|
85
|
+
ratioTapChanger: {
|
|
86
|
+
highTapPosition?: number | null | undefined;
|
|
87
|
+
hasLoadTapChangingCapabilities?: boolean | null | undefined;
|
|
88
|
+
lowTapPosition?: number | null | undefined;
|
|
89
|
+
regulationMode?: string | null | undefined;
|
|
90
|
+
regulationSide?: string | null | undefined;
|
|
91
|
+
regulationType?: string | null | undefined;
|
|
92
|
+
steps?: {
|
|
93
|
+
b?: number | undefined;
|
|
94
|
+
g?: number | undefined;
|
|
95
|
+
r?: number | undefined;
|
|
96
|
+
x?: number | undefined;
|
|
97
|
+
rho?: number | undefined;
|
|
98
|
+
index: number;
|
|
99
|
+
}[] | undefined;
|
|
100
|
+
targetDeadband?: {} | null | undefined;
|
|
101
|
+
targetV?: {} | null | undefined;
|
|
102
|
+
tapPosition?: number | null | undefined;
|
|
103
|
+
enabled: NonNullable<boolean | undefined>;
|
|
104
|
+
equipment: {
|
|
105
|
+
id?: string | undefined;
|
|
106
|
+
name?: string | null | undefined;
|
|
107
|
+
type?: string | undefined;
|
|
108
|
+
} | null;
|
|
109
|
+
voltageLevel: {
|
|
110
|
+
id?: string | undefined;
|
|
111
|
+
name?: string | undefined;
|
|
112
|
+
nominalVoltage?: string | undefined;
|
|
113
|
+
substationId?: string | undefined;
|
|
114
|
+
topologyKind?: string | null | undefined;
|
|
115
|
+
} | null;
|
|
116
|
+
};
|
|
117
|
+
phaseTapChanger: {
|
|
118
|
+
currentLimiterRegulatingValue?: number | null | undefined;
|
|
119
|
+
flowSetPointRegulatingValue?: number | null | undefined;
|
|
120
|
+
highTapPosition?: number | null | undefined;
|
|
121
|
+
lowTapPosition?: number | null | undefined;
|
|
122
|
+
regulationMode?: string | null | undefined;
|
|
123
|
+
regulationSide?: string | null | undefined;
|
|
124
|
+
regulationType?: string | null | undefined;
|
|
125
|
+
steps?: {
|
|
126
|
+
b?: number | undefined;
|
|
127
|
+
g?: number | undefined;
|
|
128
|
+
r?: number | undefined;
|
|
129
|
+
x?: number | undefined;
|
|
130
|
+
rho?: number | undefined;
|
|
131
|
+
alpha?: number | undefined;
|
|
132
|
+
index: number;
|
|
133
|
+
}[] | undefined;
|
|
134
|
+
targetDeadband?: number | null | undefined;
|
|
135
|
+
tapPosition?: number | null | undefined;
|
|
136
|
+
enabled: NonNullable<boolean | undefined>;
|
|
137
|
+
equipment: {
|
|
138
|
+
id?: string | undefined;
|
|
139
|
+
name?: string | null | undefined;
|
|
140
|
+
type?: string | undefined;
|
|
141
|
+
} | null;
|
|
142
|
+
voltageLevel: {
|
|
143
|
+
id?: string | undefined;
|
|
144
|
+
name?: string | undefined;
|
|
145
|
+
nominalVoltage?: string | undefined;
|
|
146
|
+
substationId?: string | undefined;
|
|
147
|
+
topologyKind?: string | null | undefined;
|
|
148
|
+
} | null;
|
|
149
|
+
};
|
|
150
|
+
} & {
|
|
151
|
+
AdditionalProperties: {
|
|
152
|
+
previousValue?: string | null | undefined;
|
|
153
|
+
value?: string | null | undefined;
|
|
154
|
+
added: NonNullable<boolean | undefined>;
|
|
155
|
+
deletionMark: NonNullable<boolean | undefined>;
|
|
156
|
+
name: string;
|
|
157
|
+
}[] | undefined;
|
|
158
|
+
}>, import('yup').AnyObject, {
|
|
159
|
+
equipmentID: undefined;
|
|
160
|
+
equipmentName: undefined;
|
|
161
|
+
connectivity: {
|
|
162
|
+
connectivity1: {
|
|
163
|
+
voltageLevel: {
|
|
164
|
+
id: undefined;
|
|
165
|
+
};
|
|
166
|
+
busOrBusbarSection: {
|
|
167
|
+
id: undefined;
|
|
168
|
+
};
|
|
169
|
+
connectionDirection: undefined;
|
|
170
|
+
connectionName: undefined;
|
|
171
|
+
connectionPosition: undefined;
|
|
172
|
+
terminalConnected: undefined;
|
|
173
|
+
};
|
|
174
|
+
connectivity2: {
|
|
175
|
+
voltageLevel: {
|
|
176
|
+
id: undefined;
|
|
177
|
+
};
|
|
178
|
+
busOrBusbarSection: {
|
|
179
|
+
id: undefined;
|
|
180
|
+
};
|
|
181
|
+
connectionDirection: undefined;
|
|
182
|
+
connectionName: undefined;
|
|
183
|
+
connectionPosition: undefined;
|
|
184
|
+
terminalConnected: undefined;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
characteristics: {
|
|
188
|
+
r: undefined;
|
|
189
|
+
x: undefined;
|
|
190
|
+
g: undefined;
|
|
191
|
+
b: undefined;
|
|
192
|
+
ratedS: undefined;
|
|
193
|
+
ratedU1: undefined;
|
|
194
|
+
ratedU2: undefined;
|
|
195
|
+
};
|
|
196
|
+
stateEstimation: {
|
|
197
|
+
[x: string]: {
|
|
198
|
+
value: undefined;
|
|
199
|
+
validity: undefined;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
toBeEstimated: {
|
|
203
|
+
ratioTapChangerStatus: undefined;
|
|
204
|
+
phaseTapChangerStatus: undefined;
|
|
205
|
+
};
|
|
206
|
+
limits: {
|
|
207
|
+
operationalLimitsGroups: undefined;
|
|
208
|
+
selectedOperationalLimitsGroupId1: undefined;
|
|
209
|
+
selectedOperationalLimitsGroupId2: undefined;
|
|
210
|
+
enableOLGModification: undefined;
|
|
211
|
+
};
|
|
212
|
+
ratioTapChanger: {
|
|
213
|
+
voltageLevel: {
|
|
214
|
+
id: undefined;
|
|
215
|
+
name: undefined;
|
|
216
|
+
substationId: undefined;
|
|
217
|
+
nominalVoltage: undefined;
|
|
218
|
+
topologyKind: undefined;
|
|
219
|
+
};
|
|
220
|
+
equipment: {
|
|
221
|
+
id: undefined;
|
|
222
|
+
name: undefined;
|
|
223
|
+
type: undefined;
|
|
224
|
+
};
|
|
225
|
+
enabled: undefined;
|
|
226
|
+
hasLoadTapChangingCapabilities: undefined;
|
|
227
|
+
regulationMode: undefined;
|
|
228
|
+
regulationType: undefined;
|
|
229
|
+
regulationSide: undefined;
|
|
230
|
+
targetV: undefined;
|
|
231
|
+
targetDeadband: undefined;
|
|
232
|
+
lowTapPosition: undefined;
|
|
233
|
+
highTapPosition: undefined;
|
|
234
|
+
tapPosition: undefined;
|
|
235
|
+
steps: "";
|
|
236
|
+
};
|
|
237
|
+
phaseTapChanger: {
|
|
238
|
+
voltageLevel: {
|
|
239
|
+
id: undefined;
|
|
240
|
+
name: undefined;
|
|
241
|
+
substationId: undefined;
|
|
242
|
+
nominalVoltage: undefined;
|
|
243
|
+
topologyKind: undefined;
|
|
244
|
+
};
|
|
245
|
+
equipment: {
|
|
246
|
+
id: undefined;
|
|
247
|
+
name: undefined;
|
|
248
|
+
type: undefined;
|
|
249
|
+
};
|
|
250
|
+
enabled: undefined;
|
|
251
|
+
regulationMode: undefined;
|
|
252
|
+
regulationType: undefined;
|
|
253
|
+
regulationSide: undefined;
|
|
254
|
+
currentLimiterRegulatingValue: undefined;
|
|
255
|
+
flowSetPointRegulatingValue: undefined;
|
|
256
|
+
targetDeadband: undefined;
|
|
257
|
+
lowTapPosition: undefined;
|
|
258
|
+
highTapPosition: undefined;
|
|
259
|
+
tapPosition: undefined;
|
|
260
|
+
steps: "";
|
|
261
|
+
};
|
|
262
|
+
AdditionalProperties: "";
|
|
263
|
+
}, "">;
|
|
264
|
+
export type TwoWindingsTransformerModificationFormData = InferType<typeof twoWindingsTransformerModificationFormSchema>;
|
|
265
|
+
export declare const twoWindingsTransformerModificationEmptyFormData: DeepNullable<TwoWindingsTransformerModificationFormData>;
|