@gridsuite/commons-ui 0.149.0 → 0.151.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 +2 -0
- package/dist/components/parameters/sensi/constants.d.ts +6 -1
- package/dist/components/parameters/sensi/constants.js +6 -2
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-factor-count.d.ts +8 -0
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-factor-count.js +53 -0
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-form.js +2 -3
- package/dist/components/parameters/sensi/sensitivity-analysis-parameters-inline.js +3 -3
- package/dist/components/parameters/sensi/sensitivity-parameters-selector.d.ts +5 -11
- package/dist/components/parameters/sensi/sensitivity-parameters-selector.js +64 -99
- package/dist/components/parameters/sensi/sensitivity-table.d.ts +2 -3
- package/dist/components/parameters/sensi/sensitivity-table.js +27 -37
- package/dist/components/parameters/sensi/table-cell.d.ts +1 -1
- package/dist/components/parameters/sensi/table-cell.js +2 -8
- package/dist/components/parameters/sensi/table-row.d.ts +2 -2
- package/dist/components/parameters/sensi/table-row.js +4 -6
- package/dist/components/parameters/sensi/use-sensitivity-analysis-parameters.d.ts +7 -10
- package/dist/components/parameters/sensi/use-sensitivity-analysis-parameters.js +67 -114
- package/dist/components/parameters/sensi/utils.d.ts +6 -15
- package/dist/components/parameters/sensi/utils.js +21 -4
- package/dist/components/treeViewFinder/TreeViewFinder.js +2 -1
- package/dist/components/treeViewFinder/TreeViewUtils.d.ts +2 -0
- package/dist/components/treeViewFinder/TreeViewUtils.js +6 -0
- package/dist/components/treeViewFinder/index.d.ts +1 -0
- package/dist/components/treeViewFinder/index.js +2 -0
- package/dist/hooks/use-create-row-data-sensi.js +1 -2
- package/dist/index.js +2 -0
- package/dist/services/sensitivity-analysis.d.ts +2 -2
- package/dist/services/sensitivity-analysis.js +8 -9
- package/dist/translations/en/businessErrorsEn.d.ts +1 -0
- package/dist/translations/en/businessErrorsEn.js +2 -1
- package/dist/translations/en/parameters.d.ts +3 -3
- package/dist/translations/en/parameters.js +4 -4
- package/dist/translations/fr/businessErrorsFr.d.ts +1 -0
- package/dist/translations/fr/businessErrorsFr.js +2 -1
- package/dist/translations/fr/parameters.d.ts +3 -3
- package/dist/translations/fr/parameters.js +4 -4
- package/dist/utils/constants/unitsConstants.d.ts +1 -1
- package/dist/utils/constants/unitsConstants.js +1 -1
- package/dist/utils/types/sensitivity-analysis.type.d.ts +4 -7
- package/package.json +4 -4
|
@@ -218,9 +218,9 @@ export declare const parametersEn: {
|
|
|
218
218
|
EquipmentsInVoltageRegulation: string;
|
|
219
219
|
PSTS: string;
|
|
220
220
|
Active: string;
|
|
221
|
-
'sensitivityAnalysis.
|
|
222
|
-
'sensitivityAnalysis.
|
|
223
|
-
'sensitivityAnalysis.
|
|
221
|
+
'sensitivityAnalysis.simulatedResults': string;
|
|
222
|
+
'sensitivityAnalysis.simulatedVariables': string;
|
|
223
|
+
'sensitivityAnalysis.maximumFactorsCount': string;
|
|
224
224
|
'sensitivityAnalysis.separator': string;
|
|
225
225
|
loadingComputing: string;
|
|
226
226
|
AddRows: string;
|
|
@@ -157,7 +157,7 @@ const parametersEn = {
|
|
|
157
157
|
ReactiveSlacksThresholdMustBeGreaterOrEqualToZero: "The threshold must be greater or equal to 0",
|
|
158
158
|
ShuntCompensatorActivationThreshold: "Alert threshold on shunt compensator activation",
|
|
159
159
|
ShuntCompensatorActivationThresholdMustBeGreaterOrEqualToZero: "The threshold must be greater or equal to 0",
|
|
160
|
-
ShuntCompensatorActivationThresholdDescription: "Threshold (in
|
|
160
|
+
ShuntCompensatorActivationThresholdDescription: "Threshold (in Mvar) above which the difference between discretized and optimal value for shunt compensator activation is considered significant (and will thus be recorded in the functional logs)",
|
|
161
161
|
VoltageInitParametersError: "An error occurred while updating the voltage profile initialization parameters",
|
|
162
162
|
AdjustExistingLimits: "Adjust existing limits",
|
|
163
163
|
AdjustExistingLimitsInfo: "Please enter a positive number in order to increase an existing voltage limit and a negative number in order to decrease an existing voltage limit (new limit = existing limit + user input).",
|
|
@@ -212,9 +212,9 @@ const parametersEn = {
|
|
|
212
212
|
EquipmentsInVoltageRegulation: "Equipments in voltage regulation",
|
|
213
213
|
PSTS: "PSTs",
|
|
214
214
|
Active: "Active",
|
|
215
|
-
"sensitivityAnalysis.
|
|
216
|
-
"sensitivityAnalysis.
|
|
217
|
-
"sensitivityAnalysis.
|
|
215
|
+
"sensitivityAnalysis.simulatedResults": "{count, plural, =0 {0 result} =1 {1 result} other {#{suffix} results}}",
|
|
216
|
+
"sensitivityAnalysis.simulatedVariables": "{count, plural, =0 {0 variable} =1 {1 variable} other {#{suffix} variables}}",
|
|
217
|
+
"sensitivityAnalysis.maximumFactorsCount": "{maxFactorsCount} max",
|
|
218
218
|
"sensitivityAnalysis.separator": " | ",
|
|
219
219
|
loadingComputing: "Calculation in progress...",
|
|
220
220
|
AddRows: "Add",
|
|
@@ -53,7 +53,8 @@ const businessErrorsFr = {
|
|
|
53
53
|
"dynamicSecurityAnalysis.contingencyListEmpty": "La liste d'aléas fournie ne doit pas être nulle ou vide.",
|
|
54
54
|
"dynamicSimulation.providerNotFound": "Simulateur pour la simulation dynamique non trouvé.",
|
|
55
55
|
"dynamicSimulation.mappingNotProvided": "Mapping pour la simulation dynamique non fourni.",
|
|
56
|
-
"dynamicSimulation.mappingNotLastRuleWithEmptyFilterError": "Seule la dernière règle peut avoir un filtre vide : type {equipmentType}, indice de la règle : {index}."
|
|
56
|
+
"dynamicSimulation.mappingNotLastRuleWithEmptyFilterError": "Seule la dernière règle peut avoir un filtre vide : type {equipmentType}, indice de la règle : {index}.",
|
|
57
|
+
"sensitivityAnalysis.tooManyFactors": "Trop de facteurs pour exécuter l’analyse de sensibilité : {resultCount} résultats (limite : {resultCountLimit}) et {variableCount} variables (limite : {variableCountLimit})."
|
|
57
58
|
};
|
|
58
59
|
export {
|
|
59
60
|
businessErrorsFr
|
|
@@ -219,9 +219,9 @@ export declare const parametersFr: {
|
|
|
219
219
|
EquipmentsInVoltageRegulation: string;
|
|
220
220
|
PSTS: string;
|
|
221
221
|
Active: string;
|
|
222
|
-
'sensitivityAnalysis.
|
|
223
|
-
'sensitivityAnalysis.
|
|
224
|
-
'sensitivityAnalysis.
|
|
222
|
+
'sensitivityAnalysis.simulatedResults': string;
|
|
223
|
+
'sensitivityAnalysis.simulatedVariables': string;
|
|
224
|
+
'sensitivityAnalysis.maximumFactorsCount': string;
|
|
225
225
|
'sensitivityAnalysis.separator': string;
|
|
226
226
|
loadingComputing: string;
|
|
227
227
|
AddRows: string;
|
|
@@ -157,7 +157,7 @@ const parametersFr = {
|
|
|
157
157
|
ReactiveSlacksThresholdMustBeGreaterOrEqualToZero: "Le seuil doit être supérieur ou égal à 0",
|
|
158
158
|
ShuntCompensatorActivationThreshold: "Seuil d'alerte sur l'enclenchement des MCS",
|
|
159
159
|
ShuntCompensatorActivationThresholdMustBeGreaterOrEqualToZero: "Le seuil doit être supérieur ou égal à 0",
|
|
160
|
-
ShuntCompensatorActivationThresholdDescription: "Seuil (en
|
|
160
|
+
ShuntCompensatorActivationThresholdDescription: "Seuil (en Mvar) au-dessus duquel on considère qu'il y a un écart significatif (et donc tracé dans les logs fonctionnels) entre valeur arrondie et valeur théorique pour l'enclenchement d'un MCS",
|
|
161
161
|
VoltageInitParametersError: "Erreur lors de la mise à jour des paramètres d'initialisation du plan de tension",
|
|
162
162
|
voltageInitCancelError: "L'initialisation du plan de tension n'a pas pu être annulée",
|
|
163
163
|
AdjustExistingLimits: "Modifier les limites existantes",
|
|
@@ -213,9 +213,9 @@ const parametersFr = {
|
|
|
213
213
|
EquipmentsInVoltageRegulation: "Ouvrages en réglage tension",
|
|
214
214
|
PSTS: "TDs",
|
|
215
215
|
Active: "Actif",
|
|
216
|
-
"sensitivityAnalysis.
|
|
217
|
-
"sensitivityAnalysis.
|
|
218
|
-
"sensitivityAnalysis.
|
|
216
|
+
"sensitivityAnalysis.simulatedResults": "{count, plural, =0 {0 résultat} =1 {1 résultat} other {#{suffix} résultats}}",
|
|
217
|
+
"sensitivityAnalysis.simulatedVariables": "{count, plural, =0 {0 variable} =1 {1 variable} other {#{suffix} variables}}",
|
|
218
|
+
"sensitivityAnalysis.maximumFactorsCount": "{maxFactorsCount} max",
|
|
219
219
|
"sensitivityAnalysis.separator": " | ",
|
|
220
220
|
loadingComputing: "Evaluation en cours...",
|
|
221
221
|
AddRows: "Ajouter",
|
|
@@ -8,7 +8,7 @@ export declare const MICRO_SIEMENS = "\u00B5S";
|
|
|
8
8
|
export declare const SIEMENS = "S";
|
|
9
9
|
export declare const AMPERE = "A";
|
|
10
10
|
export declare const KILO_AMPERE = "kA";
|
|
11
|
-
export declare const MEGA_VAR = "
|
|
11
|
+
export declare const MEGA_VAR = "Mvar";
|
|
12
12
|
export declare const MEGA_VOLT_AMPERE = "MVA";
|
|
13
13
|
export declare const OHM = "\u03A9";
|
|
14
14
|
export declare const MEGA_WATT = "MW";
|
|
@@ -54,13 +54,10 @@ export interface SensitivityAnalysisParametersInfos {
|
|
|
54
54
|
sensitivityPST?: SensitivityPST[];
|
|
55
55
|
sensitivityNodes?: SensitivityNodes[];
|
|
56
56
|
}
|
|
57
|
-
export
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
hvdcs?: string[];
|
|
62
|
-
psts?: string[];
|
|
63
|
-
};
|
|
57
|
+
export interface FactorsCount {
|
|
58
|
+
resultCount: number;
|
|
59
|
+
variableCount: number;
|
|
60
|
+
}
|
|
64
61
|
export type SelectorFilterOptions = {
|
|
65
62
|
tabSelection: string;
|
|
66
63
|
functionType: string;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gridsuite/commons-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.151.0",
|
|
4
4
|
"description": "common react components for gridsuite applications",
|
|
5
5
|
"author": "gridsuite team",
|
|
6
6
|
"homepage": "https://github.com/gridsuite",
|
|
7
7
|
"license": "MPL-2.0",
|
|
8
8
|
"repository": "git://github.com/gridsuite/commons-ui.git",
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
11
|
-
"npm": "^
|
|
10
|
+
"node": ">=24",
|
|
11
|
+
"npm": "^11.6.2"
|
|
12
12
|
},
|
|
13
13
|
"type": "module",
|
|
14
14
|
"exports": "./dist/index.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@mui/icons-material": "^5.16.14",
|
|
66
66
|
"@mui/lab": "5.0.0-alpha.175",
|
|
67
67
|
"@mui/material": "^5.16.14",
|
|
68
|
-
"@mui/x-tree-view": "^
|
|
68
|
+
"@mui/x-tree-view": "^8.21.0",
|
|
69
69
|
"ag-grid-community": "^33.0.3",
|
|
70
70
|
"ag-grid-react": "^33.0.4",
|
|
71
71
|
"notistack": "^3.0.2",
|