@gridsuite/commons-ui 0.170.0 → 0.172.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/index.js +6 -1
- package/dist/components/inputs/reactHookForm/selectInputs/CountriesInput.js +13 -10
- package/dist/components/parameters/common/contingency-table/contingency-table.d.ts +4 -2
- package/dist/components/parameters/common/contingency-table/contingency-table.js +22 -11
- package/dist/components/parameters/common/contingency-table/types.d.ts +4 -0
- package/dist/components/parameters/common/parameters.js +1 -1
- package/dist/components/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +5 -5
- package/dist/components/parameters/index.js +6 -1
- package/dist/components/parameters/loadflow/load-flow-parameters-dialog.js +8 -15
- package/dist/components/parameters/loadflow/load-flow-parameters-form.js +2 -2
- package/dist/components/parameters/loadflow/load-flow-parameters-inline.js +2 -4
- package/dist/components/parameters/loadflow/use-load-flow-parameters-form.d.ts +2 -3
- package/dist/components/parameters/loadflow/use-load-flow-parameters-form.js +33 -43
- package/dist/components/parameters/security-analysis/security-analysis-parameters-dialog.js +7 -9
- package/dist/components/parameters/security-analysis/security-analysis-parameters-form.d.ts +4 -2
- package/dist/components/parameters/security-analysis/security-analysis-parameters-form.js +5 -3
- package/dist/components/parameters/security-analysis/security-analysis-parameters-inline.d.ts +4 -2
- package/dist/components/parameters/security-analysis/security-analysis-parameters-inline.js +5 -4
- package/dist/components/parameters/security-analysis/use-security-analysis-parameters-form.d.ts +1 -3
- package/dist/components/parameters/security-analysis/use-security-analysis-parameters-form.js +10 -11
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-dialog.js +6 -7
- package/dist/components/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -1
- package/dist/components/parameters/short-circuit/constants.d.ts +5 -0
- package/dist/components/parameters/short-circuit/constants.js +10 -0
- package/dist/components/parameters/short-circuit/index.js +6 -1
- package/dist/components/parameters/short-circuit/short-circuit-general-tab-panel.d.ts +10 -0
- package/dist/components/parameters/short-circuit/short-circuit-general-tab-panel.js +206 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-content.d.ts +7 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-content.js +108 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-dialog.js +7 -14
- package/dist/components/parameters/short-circuit/short-circuit-parameters-form.js +33 -30
- package/dist/components/parameters/short-circuit/short-circuit-parameters-inline.js +1 -1
- package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.d.ts +5 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-utils.js +72 -25
- package/dist/components/parameters/short-circuit/short-circuit-power-electronics-tab-panel.d.ts +2 -0
- package/dist/components/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +95 -0
- package/dist/components/parameters/short-circuit/short-circuit-study-area-tab-panel.d.ts +2 -0
- package/dist/components/parameters/short-circuit/short-circuit-study-area-tab-panel.js +143 -0
- package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.d.ts +5 -1
- package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.js +34 -14
- package/dist/hooks/use-parameters-backend.d.ts +2 -3
- package/dist/hooks/use-parameters-backend.js +33 -110
- package/dist/index.js +8 -6
- package/dist/services/directory.js +1 -1
- package/dist/services/explore.js +1 -1
- package/dist/services/index.js +2 -5
- package/dist/services/loadflow.d.ts +0 -1
- package/dist/services/loadflow.js +1 -8
- package/dist/services/security-analysis.d.ts +0 -2
- package/dist/services/security-analysis.js +2 -23
- package/dist/services/sensitivity-analysis.d.ts +0 -1
- package/dist/services/sensitivity-analysis.js +1 -8
- package/dist/translations/en/parameters.d.ts +10 -8
- package/dist/translations/en/parameters.js +10 -8
- package/dist/translations/fr/parameters.d.ts +10 -9
- package/dist/translations/fr/parameters.js +10 -9
- package/dist/utils/constants/adornments.js +1 -1
- package/dist/utils/types/parameters.type.d.ts +16 -13
- package/package.json +1 -1
- package/dist/components/parameters/short-circuit/short-circuit-fields.d.ts +0 -10
- package/dist/components/parameters/short-circuit/short-circuit-fields.js +0 -276
|
@@ -1,101 +1,48 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useState, useCallback, useEffect } from "react";
|
|
2
2
|
import { useSnackMessage } from "./useSnackMessage.js";
|
|
3
|
-
import { useDebounce } from "./useDebounce.js";
|
|
4
3
|
import { formatComputingTypeLabel } from "../components/parameters/common/computing-type.js";
|
|
5
4
|
import { snackWithFallback } from "../utils/error.js";
|
|
6
|
-
const INITIAL_PROVIDERS = {};
|
|
7
5
|
var OptionalServicesStatus = /* @__PURE__ */ ((OptionalServicesStatus2) => {
|
|
8
6
|
OptionalServicesStatus2["Up"] = "UP";
|
|
9
7
|
OptionalServicesStatus2["Down"] = "DOWN";
|
|
10
8
|
OptionalServicesStatus2["Pending"] = "PENDING";
|
|
11
9
|
return OptionalServicesStatus2;
|
|
12
10
|
})(OptionalServicesStatus || {});
|
|
13
|
-
const useParametersBackend = (user, studyUuid, type, optionalServiceStatus,
|
|
11
|
+
const useParametersBackend = (user, studyUuid, type, optionalServiceStatus, backendFunctions) => {
|
|
14
12
|
const { snackError, snackWarning } = useSnackMessage();
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
const {
|
|
14
|
+
backendFetchProviders,
|
|
15
|
+
backendFetchParameters,
|
|
16
|
+
backendUpdateParameters,
|
|
17
|
+
backendFetchSpecificParametersDescription,
|
|
18
|
+
backendFetchDefaultLimitReductions
|
|
19
|
+
} = backendFunctions;
|
|
20
|
+
const [providers, setProviders] = useState({});
|
|
19
21
|
const [params, setParams] = useState(null);
|
|
20
22
|
const [specificParamsDescription, setSpecificParamsDescription] = useState(
|
|
21
23
|
null
|
|
22
24
|
);
|
|
23
25
|
const [defaultLimitReductions, setDefaultLimitReductions] = useState([]);
|
|
24
|
-
const optionalServiceStatusRef = useRef(optionalServiceStatus);
|
|
25
|
-
optionalServiceStatusRef.current = optionalServiceStatus;
|
|
26
|
-
const currentParams = useMemo(() => {
|
|
27
|
-
if (params && "provider" in params && provider) {
|
|
28
|
-
return { ...params, provider };
|
|
29
|
-
}
|
|
30
|
-
return params;
|
|
31
|
-
}, [params, provider]);
|
|
32
|
-
const updateProvider = useCallback(
|
|
33
|
-
(newProvider) => {
|
|
34
|
-
if (!studyUuid) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
const oldProvider = providerRef.current;
|
|
38
|
-
setProvider(newProvider);
|
|
39
|
-
backendUpdateProvider?.(studyUuid, newProvider).catch((error) => {
|
|
40
|
-
setProvider(oldProvider);
|
|
41
|
-
snackWithFallback(snackError, error, {
|
|
42
|
-
headerId: `update${formatComputingTypeLabel(type)}ProviderError`
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
},
|
|
46
|
-
[backendUpdateProvider, studyUuid, snackError, type]
|
|
47
|
-
);
|
|
48
|
-
const resetProvider = useCallback(() => {
|
|
49
|
-
backendFetchDefaultProvider?.().then((defaultProvider) => {
|
|
50
|
-
const providerNames = Object.keys(providersRef.current);
|
|
51
|
-
if (providerNames.length > 0) {
|
|
52
|
-
const newProvider = defaultProvider in providersRef.current ? defaultProvider : providerNames[0];
|
|
53
|
-
if (newProvider !== providerRef.current) {
|
|
54
|
-
updateProvider(newProvider);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}).catch((error) => {
|
|
58
|
-
snackWithFallback(snackError, error, {
|
|
59
|
-
headerId: `fetchDefault${formatComputingTypeLabel(type)}ProviderError`
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
}, [backendFetchDefaultProvider, updateProvider, snackError, type]);
|
|
63
26
|
const fetchAvailableProviders = useCallback(() => {
|
|
64
|
-
return backendFetchProviders?.().then((
|
|
65
|
-
const providersObj =
|
|
27
|
+
return backendFetchProviders?.().then((response) => {
|
|
28
|
+
const providersObj = response.reduce((acc, v) => {
|
|
66
29
|
return {
|
|
67
30
|
...acc,
|
|
68
31
|
[v]: v
|
|
69
32
|
};
|
|
70
33
|
}, {});
|
|
71
|
-
|
|
34
|
+
setProviders(providersObj);
|
|
72
35
|
}).catch((error) => {
|
|
73
36
|
snackWithFallback(snackError, error, {
|
|
74
37
|
headerId: `fetch${formatComputingTypeLabel(type)}ProvidersError`
|
|
75
38
|
});
|
|
76
39
|
});
|
|
77
40
|
}, [backendFetchProviders, snackError, type]);
|
|
78
|
-
const fetchProvider = useCallback(
|
|
79
|
-
(_studyUuid) => {
|
|
80
|
-
backendFetchProvider?.(_studyUuid).then((newProvider) => {
|
|
81
|
-
if (newProvider in providersRef.current) {
|
|
82
|
-
setProvider(newProvider);
|
|
83
|
-
} else {
|
|
84
|
-
resetProvider();
|
|
85
|
-
}
|
|
86
|
-
}).catch((error) => {
|
|
87
|
-
snackWithFallback(snackError, error, {
|
|
88
|
-
headerId: `fetch${formatComputingTypeLabel(type)}ProviderError`
|
|
89
|
-
});
|
|
90
|
-
});
|
|
91
|
-
},
|
|
92
|
-
[backendFetchProvider, resetProvider, snackError, type]
|
|
93
|
-
);
|
|
94
41
|
useEffect(() => {
|
|
95
|
-
if (user !== null &&
|
|
96
|
-
fetchAvailableProviders()
|
|
42
|
+
if (user !== null && optionalServiceStatus === "UP") {
|
|
43
|
+
fetchAvailableProviders();
|
|
97
44
|
}
|
|
98
|
-
}, [fetchAvailableProviders,
|
|
45
|
+
}, [fetchAvailableProviders, optionalServiceStatus, user]);
|
|
99
46
|
const fetchSpecificParametersDescription = useCallback(() => {
|
|
100
47
|
backendFetchSpecificParametersDescription?.().then((specificParams) => {
|
|
101
48
|
setSpecificParamsDescription(specificParams);
|
|
@@ -109,7 +56,7 @@ const useParametersBackend = (user, studyUuid, type, optionalServiceStatus, back
|
|
|
109
56
|
if (optionalServiceStatus === "UP") {
|
|
110
57
|
fetchSpecificParametersDescription();
|
|
111
58
|
}
|
|
112
|
-
}, [optionalServiceStatus,
|
|
59
|
+
}, [optionalServiceStatus, fetchSpecificParametersDescription]);
|
|
113
60
|
const fetchDefaultLimitReductions = useCallback(() => {
|
|
114
61
|
backendFetchDefaultLimitReductions?.().then((defaultLimits) => {
|
|
115
62
|
setDefaultLimitReductions(defaultLimits);
|
|
@@ -122,44 +69,27 @@ const useParametersBackend = (user, studyUuid, type, optionalServiceStatus, back
|
|
|
122
69
|
fetchDefaultLimitReductions();
|
|
123
70
|
}
|
|
124
71
|
}, [optionalServiceStatus, fetchDefaultLimitReductions]);
|
|
125
|
-
const
|
|
126
|
-
(_studyUuid, newParams, oldParams) => {
|
|
127
|
-
backendUpdateParameters?.(_studyUuid, newParams).catch((error) => {
|
|
128
|
-
setParams(oldParams);
|
|
129
|
-
if (oldParams && "provider" in oldParams) {
|
|
130
|
-
setProvider(oldParams.provider);
|
|
131
|
-
} else {
|
|
132
|
-
setProvider(void 0);
|
|
133
|
-
}
|
|
134
|
-
snackWithFallback(snackError, error, {
|
|
135
|
-
headerId: `update${formatComputingTypeLabel(type)}ParametersError`
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
},
|
|
139
|
-
[backendUpdateParameters, snackError, type]
|
|
140
|
-
);
|
|
141
|
-
const debouncedBackendUpdateParameters = useDebounce(backendUpdateParametersCb, 1e3);
|
|
142
|
-
const updateParameter = useCallback(
|
|
72
|
+
const updateParameters = useCallback(
|
|
143
73
|
(newParams) => {
|
|
144
74
|
if (!studyUuid) {
|
|
145
75
|
return;
|
|
146
76
|
}
|
|
147
|
-
const oldParams =
|
|
77
|
+
const oldParams = params ? { ...params } : null;
|
|
148
78
|
setParams(newParams);
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
79
|
+
backendUpdateParameters?.(studyUuid, newParams).catch((error) => {
|
|
80
|
+
setParams(oldParams);
|
|
81
|
+
snackWithFallback(snackError, error, {
|
|
82
|
+
headerId: `update${formatComputingTypeLabel(type)}ParametersError`
|
|
83
|
+
});
|
|
84
|
+
});
|
|
155
85
|
},
|
|
156
|
-
[
|
|
86
|
+
[backendUpdateParameters, params, snackError, studyUuid, type]
|
|
157
87
|
);
|
|
158
88
|
const resetParameters = useCallback(() => {
|
|
159
89
|
if (!studyUuid || !backendUpdateParameters) {
|
|
160
|
-
return
|
|
90
|
+
return;
|
|
161
91
|
}
|
|
162
|
-
|
|
92
|
+
backendUpdateParameters(studyUuid, null).then((response) => {
|
|
163
93
|
if (response.status === 204) {
|
|
164
94
|
snackWarning({
|
|
165
95
|
headerId: `reset${formatComputingTypeLabel(type)}ParametersWarning`
|
|
@@ -175,9 +105,6 @@ const useParametersBackend = (user, studyUuid, type, optionalServiceStatus, back
|
|
|
175
105
|
(_studyUuid) => {
|
|
176
106
|
backendFetchParameters(_studyUuid).then((_params) => {
|
|
177
107
|
setParams(_params);
|
|
178
|
-
if ("provider" in _params) {
|
|
179
|
-
setProvider(_params.provider);
|
|
180
|
-
}
|
|
181
108
|
}).catch((error) => {
|
|
182
109
|
snackWithFallback(snackError, error, {
|
|
183
110
|
headerId: `fetch${formatComputingTypeLabel(type)}ParametersError`
|
|
@@ -191,19 +118,15 @@ const useParametersBackend = (user, studyUuid, type, optionalServiceStatus, back
|
|
|
191
118
|
fetchParameters(studyUuid);
|
|
192
119
|
}
|
|
193
120
|
}, [optionalServiceStatus, studyUuid, fetchParameters]);
|
|
194
|
-
return
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
fetchProvider,
|
|
198
|
-
updateProvider,
|
|
199
|
-
resetProvider,
|
|
200
|
-
currentParams,
|
|
121
|
+
return {
|
|
122
|
+
providers,
|
|
123
|
+
params,
|
|
201
124
|
fetchParameters,
|
|
202
|
-
|
|
125
|
+
updateParameters,
|
|
203
126
|
resetParameters,
|
|
204
127
|
specificParamsDescription,
|
|
205
128
|
defaultLimitReductions
|
|
206
|
-
|
|
129
|
+
};
|
|
207
130
|
};
|
|
208
131
|
export {
|
|
209
132
|
OptionalServicesStatus,
|
package/dist/index.js
CHANGED
|
@@ -161,7 +161,7 @@ import { NetworkVisualizationsParametersEditionDialog } from "./components/param
|
|
|
161
161
|
import { BALANCE_TYPE, CONNECTED_MODE, COUNTRIES_TO_BALANCE, DC, DC_POWER_FACTOR, DC_USE_TRANSFORMER_RATIO, DEFAULT_LIMIT_REDUCTION_VALUE, DISTRIBUTED_SLACK, HVDC_AC_EMULATION, MAX_VALUE_ALLOWED_FOR_LIMIT_REDUCTION, MIN_VALUE_ALLOWED_FOR_LIMIT_REDUCTION, PARAM_LIMIT_REDUCTION, PARAM_PROVIDER_OPENLOADFLOW, PHASE_SHIFTER_REGULATION_ON, READ_SLACK_BUS, SHUNT_COMPENSATOR_VOLTAGE_CONTROL_ON, TWT_SPLIT_SHUNT_ADMITTANCE, USE_REACTIVE_LIMITS, VOLTAGE_INIT_MODE, WRITE_SLACK_BUS, alertThresholdMarks } from "./components/parameters/loadflow/constants.js";
|
|
162
162
|
import { LoadFlowParametersInline } from "./components/parameters/loadflow/load-flow-parameters-inline.js";
|
|
163
163
|
import { LoadFlowParametersEditionDialog } from "./components/parameters/loadflow/load-flow-parameters-dialog.js";
|
|
164
|
-
import { InitialVoltage, PredefinedParameters, SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER, SHORT_CIRCUIT_POWER_ELECTRONICS_CLUSTERS, SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_VOLTAGE_RANGES, SHORT_CIRCUIT_WITH_FEEDER_RESULT, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, intlInitialVoltageProfileMode, intlPredefinedParametersOptions, onlyStartedGeneratorsOptions } from "./components/parameters/short-circuit/constants.js";
|
|
164
|
+
import { InitialVoltage, NODE_CLUSTER, NODE_CLUSTER_FILTER_IDS, PredefinedParameters, SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE, SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER, SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_OUTSIDE_CALCULATION_CLUSTER, SHORT_CIRCUIT_POWER_ELECTRONICS_CLUSTERS, SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS, SHORT_CIRCUIT_PREDEFINED_PARAMS, SHORT_CIRCUIT_VOLTAGE_RANGES, SHORT_CIRCUIT_WITH_FEEDER_RESULT, SHORT_CIRCUIT_WITH_LOADS, SHORT_CIRCUIT_WITH_NEUTRAL_POSITION, SHORT_CIRCUIT_WITH_SHUNT_COMPENSATORS, SHORT_CIRCUIT_WITH_VSC_CONVERTER_STATIONS, STARTED_GENERATORS_IN_CALCULATION_CLUSTER_THRESHOLD, STARTED_GENERATORS_OUTSIDE_CALCULATION_CLUSTER_THRESHOLD, intlInitialVoltageProfileMode, intlPredefinedParametersOptions, onlyStartedGeneratorsOptions } from "./components/parameters/short-circuit/constants.js";
|
|
165
165
|
import { ShortCircuitParametersInLine } from "./components/parameters/short-circuit/short-circuit-parameters-inline.js";
|
|
166
166
|
import { ShortCircuitParametersEditionDialog } from "./components/parameters/short-circuit/short-circuit-parameters-dialog.js";
|
|
167
167
|
import { DEFAULT_GENERAL_APPLY_MODIFICATIONS, DEFAULT_REACTIVE_SLACKS_THRESHOLD, DEFAULT_SHUNT_COMPENSATOR_ACTIVATION_THRESHOLD, DEFAULT_UPDATE_BUS_VOLTAGE, GENERAL, GENERAL_APPLY_MODIFICATIONS, GENERATORS_SELECTION_TYPE, HIGH_VOLTAGE_LIMIT, LEG_SIDE, LOW_VOLTAGE_LIMIT, PRIORITY, RATIO_TAP_CHANGER_POSITION, RATIO_TAP_CHANGER_TARGET_V, REACTIVE_SLACKS_THRESHOLD, SELECTION_TYPE, SHUNT_COMPENSATORS_SELECTION_TYPE, SHUNT_COMPENSATOR_ACTIVATION_THRESHOLD, TRANSFORMERS_SELECTION_TYPE, UPDATE_BUS_VOLTAGE, VARIABLE_Q_GENERATORS, VARIABLE_SHUNT_COMPENSATORS, VARIABLE_TRANSFORMERS, VOLTAGE_LIMITS_DEFAULT, VOLTAGE_LIMITS_MODIFICATION, VoltageInitTabValues } from "./components/parameters/voltage-init/constants.js";
|
|
@@ -209,9 +209,9 @@ import { fetchAppsMetadata, fetchBaseVoltages, fetchDefaultCountry, fetchEnv, fe
|
|
|
209
209
|
import { fetchConfigParameter, fetchConfigParameters, getAppName, updateConfigParameter } from "./services/config.js";
|
|
210
210
|
import { PermissionType, elementAlreadyExists, fetchDirectoryContent, fetchDirectoryElementPath, fetchRootFolders, hasElementPermission } from "./services/directory.js";
|
|
211
211
|
import { createFilter, createParameter, fetchElementsInfos, saveFilter, updateParameter } from "./services/explore.js";
|
|
212
|
-
import { PREFIX_STUDY_QUERIES, fetchLoadFlowParameters,
|
|
212
|
+
import { PREFIX_STUDY_QUERIES, fetchLoadFlowParameters, getLoadFlowDefaultLimitReductions, getLoadFlowProviders, getLoadFlowSpecificParametersDescription, getLoadFlowUrl, setLoadFlowParameters } from "./services/loadflow.js";
|
|
213
213
|
import { fetchPccMinParameters, getPccMinStudyParameters, updatePccMinParameters } from "./services/pcc-min.js";
|
|
214
|
-
import {
|
|
214
|
+
import { fetchSecurityAnalysisParameters, fetchSecurityAnalysisProviders, getSecurityAnalysisDefaultLimitReductions, getSecurityAnalysisParameters, getStudyUrl, setSecurityAnalysisParameters, updateSecurityAnalysisParameters } from "./services/security-analysis.js";
|
|
215
215
|
import { exportFilter, getAvailableComponentLibraries, getStudyNetworkVisualizationsParameters, getStudyShortCircuitParameters, setStudyNetworkVisualizationParameters, updateVoltageInitParameters } from "./services/study.js";
|
|
216
216
|
import { getNetworkVisualizationsParameters } from "./services/study-config.js";
|
|
217
217
|
import { fetchCurrentAnnouncement, fetchUserDetails } from "./services/userAdmin.js";
|
|
@@ -556,6 +556,8 @@ export {
|
|
|
556
556
|
NAD_POSITIONS_GENERATION_MODE,
|
|
557
557
|
NAD_POSITIONS_GENERATION_MODE_LABEL,
|
|
558
558
|
NAME,
|
|
559
|
+
NODE_CLUSTER,
|
|
560
|
+
NODE_CLUSTER_FILTER_IDS,
|
|
559
561
|
NO_ITEM_SELECTION_FOR_COPY,
|
|
560
562
|
NadPositionsGenerationMode,
|
|
561
563
|
NetworkModificationNameCellRenderer,
|
|
@@ -651,6 +653,7 @@ export {
|
|
|
651
653
|
SHORT_CIRCUIT_INITIAL_VOLTAGE_PROFILE_MODE,
|
|
652
654
|
SHORT_CIRCUIT_MODEL_POWER_ELECTRONICS,
|
|
653
655
|
SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_IN_CALCULATION_CLUSTER,
|
|
656
|
+
SHORT_CIRCUIT_ONLY_STARTED_GENERATORS_OUTSIDE_CALCULATION_CLUSTER,
|
|
654
657
|
SHORT_CIRCUIT_POWER_ELECTRONICS_CLUSTERS,
|
|
655
658
|
SHORT_CIRCUIT_POWER_ELECTRONICS_MATERIALS,
|
|
656
659
|
SHORT_CIRCUIT_PREDEFINED_PARAMS,
|
|
@@ -668,6 +671,8 @@ export {
|
|
|
668
671
|
SIEMENS,
|
|
669
672
|
SIGNIN_CALLBACK_ERROR,
|
|
670
673
|
SPECIFIC_PARAMETERS,
|
|
674
|
+
STARTED_GENERATORS_IN_CALCULATION_CLUSTER_THRESHOLD,
|
|
675
|
+
STARTED_GENERATORS_OUTSIDE_CALCULATION_CLUSTER_THRESHOLD,
|
|
671
676
|
START_TIME,
|
|
672
677
|
STOP_TIME,
|
|
673
678
|
SUBSTATION_LAYOUT,
|
|
@@ -817,7 +822,6 @@ export {
|
|
|
817
822
|
fetchCsvSeparator,
|
|
818
823
|
fetchCurrentAnnouncement,
|
|
819
824
|
fetchDefaultCountry,
|
|
820
|
-
fetchDefaultSecurityAnalysisProvider,
|
|
821
825
|
fetchDirectoryContent,
|
|
822
826
|
fetchDirectoryElementPath,
|
|
823
827
|
fetchDynamicMarginCalculationParameters,
|
|
@@ -849,7 +853,6 @@ export {
|
|
|
849
853
|
getAvailableComponentLibraries,
|
|
850
854
|
getComputedLanguage,
|
|
851
855
|
getConcatenatedProperties,
|
|
852
|
-
getDefaultLoadFlowProvider,
|
|
853
856
|
getEquipmentTypeShortLabel,
|
|
854
857
|
getEquipmentsInfosForSearchBar,
|
|
855
858
|
getExpertFilterEmptyFormData,
|
|
@@ -988,7 +991,6 @@ export {
|
|
|
988
991
|
updateParameter,
|
|
989
992
|
updatePccMinParameters,
|
|
990
993
|
updateSecurityAnalysisParameters,
|
|
991
|
-
updateSecurityAnalysisProvider,
|
|
992
994
|
updateShortCircuitParameters,
|
|
993
995
|
updateVoltageInitParameters,
|
|
994
996
|
useConfidentialityWarning,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { backendFetchJson, getRequestParamFromList, backendFetch } from "./utils.js";
|
|
2
2
|
const PREFIX_EXPLORE_SERVER_QUERIES = `${"api/gateway"}/explore`;
|
|
3
3
|
function fetchRootFolders(types) {
|
|
4
4
|
console.info("Fetching Root Directories");
|
package/dist/services/explore.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getRequestParamFromList, backendFetchJson, backendFetch } from "./utils.js";
|
|
2
2
|
const PREFIX_EXPLORE_SERVER_QUERIES = `${"api/gateway"}/explore`;
|
|
3
3
|
function createFilter(newFilter, name, description, parentDirectoryUuid, token) {
|
|
4
4
|
const urlSearchParams = new URLSearchParams();
|
package/dist/services/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import { fetchAppsMetadata, fetchBaseVoltages, fetchDefaultCountry, fetchEnv, fe
|
|
|
2
2
|
import { fetchConfigParameter, fetchConfigParameters, getAppName, updateConfigParameter } from "./config.js";
|
|
3
3
|
import { PermissionType, elementAlreadyExists, fetchDirectoryContent, fetchDirectoryElementPath, fetchRootFolders, hasElementPermission } from "./directory.js";
|
|
4
4
|
import { createFilter, createParameter, fetchElementsInfos, saveFilter, updateParameter } from "./explore.js";
|
|
5
|
-
import { PREFIX_STUDY_QUERIES, fetchLoadFlowParameters,
|
|
5
|
+
import { PREFIX_STUDY_QUERIES, fetchLoadFlowParameters, getLoadFlowDefaultLimitReductions, getLoadFlowProviders, getLoadFlowSpecificParametersDescription, getLoadFlowUrl, setLoadFlowParameters } from "./loadflow.js";
|
|
6
6
|
import { fetchPccMinParameters, getPccMinStudyParameters, updatePccMinParameters } from "./pcc-min.js";
|
|
7
|
-
import {
|
|
7
|
+
import { fetchSecurityAnalysisParameters, fetchSecurityAnalysisProviders, getSecurityAnalysisDefaultLimitReductions, getSecurityAnalysisParameters, getStudyUrl, setSecurityAnalysisParameters, updateSecurityAnalysisParameters } from "./security-analysis.js";
|
|
8
8
|
import { exportFilter, getAvailableComponentLibraries, getStudyNetworkVisualizationsParameters, getStudyShortCircuitParameters, setStudyNetworkVisualizationParameters, updateVoltageInitParameters } from "./study.js";
|
|
9
9
|
import { getNetworkVisualizationsParameters } from "./study-config.js";
|
|
10
10
|
import { fetchCurrentAnnouncement, fetchUserDetails } from "./userAdmin.js";
|
|
@@ -30,7 +30,6 @@ export {
|
|
|
30
30
|
fetchConfigParameters,
|
|
31
31
|
fetchCurrentAnnouncement,
|
|
32
32
|
fetchDefaultCountry,
|
|
33
|
-
fetchDefaultSecurityAnalysisProvider,
|
|
34
33
|
fetchDirectoryContent,
|
|
35
34
|
fetchDirectoryElementPath,
|
|
36
35
|
fetchDynamicMarginCalculationParameters,
|
|
@@ -49,7 +48,6 @@ export {
|
|
|
49
48
|
fetchUserDetails,
|
|
50
49
|
getAppName,
|
|
51
50
|
getAvailableComponentLibraries,
|
|
52
|
-
getDefaultLoadFlowProvider,
|
|
53
51
|
getLoadFlowDefaultLimitReductions,
|
|
54
52
|
getLoadFlowProviders,
|
|
55
53
|
getLoadFlowSpecificParametersDescription,
|
|
@@ -81,7 +79,6 @@ export {
|
|
|
81
79
|
updateParameter,
|
|
82
80
|
updatePccMinParameters,
|
|
83
81
|
updateSecurityAnalysisParameters,
|
|
84
|
-
updateSecurityAnalysisProvider,
|
|
85
82
|
updateShortCircuitParameters,
|
|
86
83
|
updateVoltageInitParameters
|
|
87
84
|
};
|
|
@@ -4,6 +4,5 @@ export declare function getLoadFlowUrl(): string;
|
|
|
4
4
|
export declare function getLoadFlowProviders(): Promise<any>;
|
|
5
5
|
export declare function getLoadFlowSpecificParametersDescription(): Promise<any>;
|
|
6
6
|
export declare function getLoadFlowDefaultLimitReductions(): Promise<any>;
|
|
7
|
-
export declare function getDefaultLoadFlowProvider(): Promise<string>;
|
|
8
7
|
export declare function fetchLoadFlowParameters(parameterUuid: string): Promise<any>;
|
|
9
8
|
export declare function setLoadFlowParameters(parameterUuid: UUID, newParams: any): Promise<Response>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { backendFetchJson,
|
|
1
|
+
import { backendFetchJson, backendFetch } from "./utils.js";
|
|
2
2
|
const PREFIX_LOADFLOW_SERVER_QUERIES = `${"api/gateway"}/loadflow`;
|
|
3
3
|
const PREFIX_STUDY_QUERIES = `${"api/gateway"}/study`;
|
|
4
4
|
function getLoadFlowUrl() {
|
|
@@ -22,12 +22,6 @@ function getLoadFlowDefaultLimitReductions() {
|
|
|
22
22
|
console.debug(getLoadFlowDefaultLimitReductionsUrl);
|
|
23
23
|
return backendFetchJson(getLoadFlowDefaultLimitReductionsUrl);
|
|
24
24
|
}
|
|
25
|
-
function getDefaultLoadFlowProvider() {
|
|
26
|
-
console.info("get default load flow provier");
|
|
27
|
-
const getDefaultLoadFlowProviderUrl = `${PREFIX_STUDY_QUERIES}/v1/loadflow-default-provider`;
|
|
28
|
-
console.debug(getDefaultLoadFlowProviderUrl);
|
|
29
|
-
return backendFetchText(getDefaultLoadFlowProviderUrl);
|
|
30
|
-
}
|
|
31
25
|
function fetchLoadFlowParameters(parameterUuid) {
|
|
32
26
|
console.info("fetch load flow parameters");
|
|
33
27
|
const url = `${getLoadFlowUrl()}parameters/${encodeURIComponent(parameterUuid)}`;
|
|
@@ -50,7 +44,6 @@ function setLoadFlowParameters(parameterUuid, newParams) {
|
|
|
50
44
|
export {
|
|
51
45
|
PREFIX_STUDY_QUERIES,
|
|
52
46
|
fetchLoadFlowParameters,
|
|
53
|
-
getDefaultLoadFlowProvider,
|
|
54
47
|
getLoadFlowDefaultLimitReductions,
|
|
55
48
|
getLoadFlowProviders,
|
|
56
49
|
getLoadFlowSpecificParametersDescription,
|
|
@@ -3,8 +3,6 @@ export declare const getStudyUrl: (studyUuid: UUID | null) => string;
|
|
|
3
3
|
export declare function fetchSecurityAnalysisProviders(): Promise<any>;
|
|
4
4
|
export declare function fetchSecurityAnalysisParameters(parameterUuid: string): Promise<any>;
|
|
5
5
|
export declare function getSecurityAnalysisDefaultLimitReductions(): Promise<any>;
|
|
6
|
-
export declare function updateSecurityAnalysisProvider(studyUuid: UUID, newProvider: string): Promise<Response>;
|
|
7
|
-
export declare function fetchDefaultSecurityAnalysisProvider(): Promise<string>;
|
|
8
6
|
export declare function getSecurityAnalysisParameters(studyUuid: UUID): Promise<any>;
|
|
9
7
|
export declare function setSecurityAnalysisParameters(studyUuid: UUID, newParams: any): Promise<Response>;
|
|
10
8
|
export declare function updateSecurityAnalysisParameters(parameterUuid: UUID, newParams: any): Promise<Response>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { safeEncodeURIComponent, backendFetchJson, backendFetch
|
|
1
|
+
import { safeEncodeURIComponent, backendFetchJson, backendFetch } from "./utils.js";
|
|
2
2
|
import { PREFIX_STUDY_QUERIES } from "./loadflow.js";
|
|
3
3
|
const PREFIX_SECURITY_ANALYSIS_SERVER_QUERIES = `${"api/gateway"}/security-analysis`;
|
|
4
4
|
const getStudyUrl = (studyUuid) => `${PREFIX_STUDY_QUERIES}/v1/studies/${safeEncodeURIComponent(studyUuid)}`;
|
|
@@ -23,25 +23,6 @@ function getSecurityAnalysisDefaultLimitReductions() {
|
|
|
23
23
|
console.debug(url);
|
|
24
24
|
return backendFetchJson(url);
|
|
25
25
|
}
|
|
26
|
-
function updateSecurityAnalysisProvider(studyUuid, newProvider) {
|
|
27
|
-
console.info("update security analysis provider");
|
|
28
|
-
const url = `${getStudyUrl(studyUuid)}/security-analysis/provider`;
|
|
29
|
-
console.debug(url);
|
|
30
|
-
return backendFetch(url, {
|
|
31
|
-
method: "POST",
|
|
32
|
-
headers: {
|
|
33
|
-
Accept: "application/json",
|
|
34
|
-
"Content-Type": "application/json"
|
|
35
|
-
},
|
|
36
|
-
body: newProvider
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function fetchDefaultSecurityAnalysisProvider() {
|
|
40
|
-
console.info("fetch default security analysis provider");
|
|
41
|
-
const url = `${PREFIX_STUDY_QUERIES}/v1/security-analysis-default-provider`;
|
|
42
|
-
console.debug(url);
|
|
43
|
-
return backendFetchText(url);
|
|
44
|
-
}
|
|
45
26
|
function getSecurityAnalysisParameters(studyUuid) {
|
|
46
27
|
console.info("get security analysis parameters");
|
|
47
28
|
const url = `${getStudyUrl(studyUuid)}/security-analysis/parameters`;
|
|
@@ -75,13 +56,11 @@ function updateSecurityAnalysisParameters(parameterUuid, newParams) {
|
|
|
75
56
|
});
|
|
76
57
|
}
|
|
77
58
|
export {
|
|
78
|
-
fetchDefaultSecurityAnalysisProvider,
|
|
79
59
|
fetchSecurityAnalysisParameters,
|
|
80
60
|
fetchSecurityAnalysisProviders,
|
|
81
61
|
getSecurityAnalysisDefaultLimitReductions,
|
|
82
62
|
getSecurityAnalysisParameters,
|
|
83
63
|
getStudyUrl,
|
|
84
64
|
setSecurityAnalysisParameters,
|
|
85
|
-
updateSecurityAnalysisParameters
|
|
86
|
-
updateSecurityAnalysisProvider
|
|
65
|
+
updateSecurityAnalysisParameters
|
|
87
66
|
};
|
|
@@ -8,5 +8,4 @@ export declare function getSensitivityAnalysisParameters(studyUuid: UUID): Promi
|
|
|
8
8
|
export declare function fetchSensitivityAnalysisParameters(parameterUuid: string): Promise<any>;
|
|
9
9
|
export declare function setSensitivityAnalysisParameters(studyUuid: UUID | null, newParams: SensitivityAnalysisParametersInfos | null): Promise<Response>;
|
|
10
10
|
export declare function getSensitivityAnalysisFactorsCount(studyUuid: UUID | null, currentNodeUuid: UUID, currentRootNetworkUuid: UUID, newParams: SensitivityAnalysisParametersInfos): Promise<FactorsCount>;
|
|
11
|
-
export declare function fetchDefaultSensitivityAnalysisProvider(): Promise<string>;
|
|
12
11
|
export declare function updateSensitivityAnalysisParameters(parameterUuid: UUID, newParams: any): Promise<Response>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { safeEncodeURIComponent, backendFetchJson, backendFetch
|
|
1
|
+
import { safeEncodeURIComponent, backendFetchJson, backendFetch } from "./utils.js";
|
|
2
2
|
import { PREFIX_STUDY_QUERIES } from "./loadflow.js";
|
|
3
3
|
const GET_PARAMETERS_PREFIX = `${"api/gateway"}/sensitivity-analysis/v1/parameters`;
|
|
4
4
|
const PREFIX_SENSITIVITY_ANALYSIS_SERVER_QUERIES = `${"api/gateway"}/sensitivity-analysis`;
|
|
@@ -52,12 +52,6 @@ function getSensitivityAnalysisFactorsCount(studyUuid, currentNodeUuid, currentR
|
|
|
52
52
|
body: JSON.stringify(newParams)
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
function fetchDefaultSensitivityAnalysisProvider() {
|
|
56
|
-
console.info("fetch default sensitivity analysis provider");
|
|
57
|
-
const url = `${PREFIX_STUDY_QUERIES}/v1/sensitivity-analysis-default-provider`;
|
|
58
|
-
console.debug(url);
|
|
59
|
-
return backendFetchText(url);
|
|
60
|
-
}
|
|
61
55
|
function updateSensitivityAnalysisParameters(parameterUuid, newParams) {
|
|
62
56
|
console.info("set security analysis parameters");
|
|
63
57
|
const setSecurityAnalysisParametersUrl = `${getSensiUrl()}parameters/${parameterUuid}`;
|
|
@@ -72,7 +66,6 @@ function updateSensitivityAnalysisParameters(parameterUuid, newParams) {
|
|
|
72
66
|
});
|
|
73
67
|
}
|
|
74
68
|
export {
|
|
75
|
-
fetchDefaultSensitivityAnalysisProvider,
|
|
76
69
|
fetchSensitivityAnalysisParameters,
|
|
77
70
|
fetchSensitivityAnalysisProviders,
|
|
78
71
|
getSensiUrl,
|
|
@@ -53,6 +53,8 @@ export declare const parametersEn: {
|
|
|
53
53
|
RealPercentage: string;
|
|
54
54
|
General: string;
|
|
55
55
|
LimitReductions: string;
|
|
56
|
+
StudyArea: string;
|
|
57
|
+
PowerElectronics: string;
|
|
56
58
|
IST: string;
|
|
57
59
|
LimitVoltageInterval: string;
|
|
58
60
|
LimitVoltageAfterIST: string;
|
|
@@ -112,6 +114,11 @@ export declare const parametersEn: {
|
|
|
112
114
|
ShortCircuitCharacteristics: string;
|
|
113
115
|
ShortCircuitVoltageProfileMode: string;
|
|
114
116
|
ShortCircuitStartedGeneratorsMode: string;
|
|
117
|
+
ShortCircuitInClusterFilter: string;
|
|
118
|
+
ShortCircuitInCluster: string;
|
|
119
|
+
ShortCircuitOutCluster: string;
|
|
120
|
+
startedGeneratorsInCalculationClusterThreshold: string;
|
|
121
|
+
startedGeneratorsOutsideCalculationClusterThreshold: string;
|
|
115
122
|
ShortCircuitPowerElectronicsSection: string;
|
|
116
123
|
ShortCircuitModelPowerElectronics: string;
|
|
117
124
|
ShortCircuitIccActive: string;
|
|
@@ -197,7 +204,9 @@ export declare const parametersEn: {
|
|
|
197
204
|
AddContingencyList: string;
|
|
198
205
|
DeleteContingencyList: string;
|
|
199
206
|
getContingencyListError: string;
|
|
200
|
-
|
|
207
|
+
xContingenciesWillBeSimulatedAndYNotFound: string;
|
|
208
|
+
contingencyCountImpossibleOnUnbuiltNode: string;
|
|
209
|
+
noContingency: string;
|
|
201
210
|
resultsThreshold: string;
|
|
202
211
|
SensitivityBranches: string;
|
|
203
212
|
SensitivityInjectionsSet: string;
|
|
@@ -236,19 +245,12 @@ export declare const parametersEn: {
|
|
|
236
245
|
fetchLoadFlowProvidersError: string;
|
|
237
246
|
fetchLoadFlowSpecificParametersError: string;
|
|
238
247
|
updateLoadFlowParametersError: string;
|
|
239
|
-
updateLoadFlowProviderError: string;
|
|
240
|
-
fetchDefaultSecurityAnalysisProviderError: string;
|
|
241
248
|
fetchSecurityAnalysisParametersError: string;
|
|
242
|
-
fetchSecurityAnalysisProviderError: string;
|
|
243
249
|
fetchSecurityAnalysisProvidersError: string;
|
|
244
250
|
updateSecurityAnalysisParametersError: string;
|
|
245
|
-
updateSecurityAnalysisProviderError: string;
|
|
246
|
-
fetchDefaultSensitivityAnalysisProviderError: string;
|
|
247
251
|
fetchSensitivityAnalysisParametersError: string;
|
|
248
|
-
fetchSensitivityAnalysisProviderError: string;
|
|
249
252
|
fetchSensitivityAnalysisProvidersError: string;
|
|
250
253
|
updateSensitivityAnalysisParametersError: string;
|
|
251
|
-
updateSensitivityAnalysisProviderError: string;
|
|
252
254
|
getSensitivityAnalysisFactorsCountError: string;
|
|
253
255
|
resetLoadFlowParametersWarning: string;
|
|
254
256
|
PccMinParametersError: string;
|
|
@@ -47,6 +47,8 @@ const parametersEn = {
|
|
|
47
47
|
RealPercentage: "This value must be between 0 and 1",
|
|
48
48
|
General: "General",
|
|
49
49
|
LimitReductions: "Limit reductions",
|
|
50
|
+
StudyArea: "Study area",
|
|
51
|
+
PowerElectronics: "Power electronics",
|
|
50
52
|
IST: "PATL",
|
|
51
53
|
LimitVoltageInterval: "Between TATL{lowBound} and TATL{highBound}",
|
|
52
54
|
LimitVoltageAfterIST: "Between PATL and TATL{highBound}",
|
|
@@ -106,6 +108,11 @@ const parametersEn = {
|
|
|
106
108
|
ShortCircuitCharacteristics: "Features considered",
|
|
107
109
|
ShortCircuitVoltageProfileMode: "Initial voltage profile",
|
|
108
110
|
ShortCircuitStartedGeneratorsMode: "Generators started",
|
|
111
|
+
ShortCircuitInClusterFilter: "In cluster filters",
|
|
112
|
+
ShortCircuitInCluster: "In cluster",
|
|
113
|
+
ShortCircuitOutCluster: "Out cluster",
|
|
114
|
+
startedGeneratorsInCalculationClusterThreshold: "Threshold",
|
|
115
|
+
startedGeneratorsOutsideCalculationClusterThreshold: "Threshold",
|
|
109
116
|
ShortCircuitPowerElectronicsSection: "Modeling of power electronics connected equipment",
|
|
110
117
|
ShortCircuitModelPowerElectronics: "Consider following Icc characteristics",
|
|
111
118
|
ShortCircuitIccActive: "Activate",
|
|
@@ -191,7 +198,9 @@ const parametersEn = {
|
|
|
191
198
|
AddContingencyList: "Add",
|
|
192
199
|
DeleteContingencyList: "Delete",
|
|
193
200
|
getContingencyListError: "Can't fetch contingencies lists",
|
|
194
|
-
|
|
201
|
+
xContingenciesWillBeSimulatedAndYNotFound: "{x, plural, =0 {no contingency} =1 {1 contingency} other {{x} contingencies}} to be simulated {y, plural, =0 {} other {and {y} not found}}",
|
|
202
|
+
contingencyCountImpossibleOnUnbuiltNode: "Can't estimate contingencies on an unbuilt node",
|
|
203
|
+
noContingency: "No contingency",
|
|
195
204
|
resultsThreshold: "Minimum sensitivity threshold",
|
|
196
205
|
SensitivityBranches: "Branches",
|
|
197
206
|
SensitivityInjectionsSet: "Relatively to injections set :",
|
|
@@ -232,21 +241,14 @@ const parametersEn = {
|
|
|
232
241
|
fetchLoadFlowProvidersError: "An error occurred while fetching the load flow providers",
|
|
233
242
|
fetchLoadFlowSpecificParametersError: "An error occured when fetching the load flow specific parameters",
|
|
234
243
|
updateLoadFlowParametersError: "An error occurred while updating the load flow parameters",
|
|
235
|
-
updateLoadFlowProviderError: "An error occurred while updating the load flow provider",
|
|
236
244
|
// SecurityAnalysis
|
|
237
|
-
fetchDefaultSecurityAnalysisProviderError: "An error occured when fetching default security analysis provider",
|
|
238
245
|
fetchSecurityAnalysisParametersError: "An error occured when fetching the security analysis parameters",
|
|
239
|
-
fetchSecurityAnalysisProviderError: "An error occured when fetching security analysis provider",
|
|
240
246
|
fetchSecurityAnalysisProvidersError: "An error occured when fetching security analysis provider list",
|
|
241
247
|
updateSecurityAnalysisParametersError: "An error occurred while updating the security analysis parameters",
|
|
242
|
-
updateSecurityAnalysisProviderError: "An error occured when updating security analysis provider",
|
|
243
248
|
// SensitivityAnalysis
|
|
244
|
-
fetchDefaultSensitivityAnalysisProviderError: "An error occured when fetching default sensitivity analysis provider",
|
|
245
249
|
fetchSensitivityAnalysisParametersError: "An error occured when fetching the sensitivity analysis parameters",
|
|
246
|
-
fetchSensitivityAnalysisProviderError: "An error occured when fetching sensitivity analysis provider",
|
|
247
250
|
fetchSensitivityAnalysisProvidersError: "An error occured when fetching sensitivity analysis provider list",
|
|
248
251
|
updateSensitivityAnalysisParametersError: "An error occurred while updating the sensitivity analysis parameters",
|
|
249
|
-
updateSensitivityAnalysisProviderError: "An error occured when updating sensitivity analysis provider",
|
|
250
252
|
getSensitivityAnalysisFactorsCountError: "An error occured while estimating sensitivity analysis computations",
|
|
251
253
|
// Other
|
|
252
254
|
resetLoadFlowParametersWarning: "Impossible to retrieve the load flow parameters defined in the user profile (default values are used)",
|
|
@@ -53,6 +53,8 @@ export declare const parametersFr: {
|
|
|
53
53
|
RealPercentage: string;
|
|
54
54
|
General: string;
|
|
55
55
|
LimitReductions: string;
|
|
56
|
+
StudyArea: string;
|
|
57
|
+
PowerElectronics: string;
|
|
56
58
|
IST: string;
|
|
57
59
|
LimitVoltageInterval: string;
|
|
58
60
|
LimitVoltageAfterIST: string;
|
|
@@ -112,6 +114,11 @@ export declare const parametersFr: {
|
|
|
112
114
|
ShortCircuitCharacteristics: string;
|
|
113
115
|
ShortCircuitVoltageProfileMode: string;
|
|
114
116
|
ShortCircuitStartedGeneratorsMode: string;
|
|
117
|
+
ShortCircuitInClusterFilter: string;
|
|
118
|
+
ShortCircuitInCluster: string;
|
|
119
|
+
ShortCircuitOutCluster: string;
|
|
120
|
+
startedGeneratorsInCalculationClusterThreshold: string;
|
|
121
|
+
startedGeneratorsOutsideCalculationClusterThreshold: string;
|
|
115
122
|
ShortCircuitPowerElectronicsSection: string;
|
|
116
123
|
ShortCircuitModelPowerElectronics: string;
|
|
117
124
|
ShortCircuitIccActive: string;
|
|
@@ -198,7 +205,9 @@ export declare const parametersFr: {
|
|
|
198
205
|
AddContingencyList: string;
|
|
199
206
|
DeleteContingencyList: string;
|
|
200
207
|
getContingencyListError: string;
|
|
201
|
-
|
|
208
|
+
xContingenciesWillBeSimulatedAndYNotFound: string;
|
|
209
|
+
contingencyCountImpossibleOnUnbuiltNode: string;
|
|
210
|
+
noContingency: string;
|
|
202
211
|
resultsThreshold: string;
|
|
203
212
|
SensitivityBranches: string;
|
|
204
213
|
SensitivityInjectionsSet: string;
|
|
@@ -231,25 +240,17 @@ export declare const parametersFr: {
|
|
|
231
240
|
loadingComputing: string;
|
|
232
241
|
AddRows: string;
|
|
233
242
|
Optional: string;
|
|
234
|
-
fetchDefaultLoadFlowProviderError: string;
|
|
235
243
|
fetchLoadFlowParametersError: string;
|
|
236
244
|
fetchLoadFlowProviderError: string;
|
|
237
245
|
fetchLoadFlowProvidersError: string;
|
|
238
246
|
fetchLoadFlowSpecificParametersError: string;
|
|
239
247
|
updateLoadFlowParametersError: string;
|
|
240
|
-
updateLoadFlowProviderError: string;
|
|
241
|
-
fetchDefaultSecurityAnalysisProviderError: string;
|
|
242
248
|
fetchSecurityAnalysisParametersError: string;
|
|
243
|
-
fetchSecurityAnalysisProviderError: string;
|
|
244
249
|
fetchSecurityAnalysisProvidersError: string;
|
|
245
250
|
updateSecurityAnalysisParametersError: string;
|
|
246
|
-
updateSecurityAnalysisProviderError: string;
|
|
247
|
-
fetchDefaultSensitivityAnalysisProviderError: string;
|
|
248
251
|
fetchSensitivityAnalysisParametersError: string;
|
|
249
|
-
fetchSensitivityAnalysisProviderError: string;
|
|
250
252
|
fetchSensitivityAnalysisProvidersError: string;
|
|
251
253
|
updateSensitivityAnalysisParametersError: string;
|
|
252
|
-
updateSensitivityAnalysisProviderError: string;
|
|
253
254
|
getSensitivityAnalysisFactorsCountError: string;
|
|
254
255
|
resetLoadFlowParametersWarning: string;
|
|
255
256
|
PccMinParametersError: string;
|