Skip to content

Commit ca9ea2d

Browse files
authored
add pcc min computation (#894)
Signed-off-by: SOUISSI Maissa (Externe) <[email protected]>
1 parent 156248f commit ca9ea2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/parameters/common/computing-type.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export enum ComputingType {
1515
DYNAMIC_SECURITY_ANALYSIS = 'DYNAMIC_SECURITY_ANALYSIS',
1616
VOLTAGE_INITIALIZATION = 'VOLTAGE_INITIALIZATION',
1717
STATE_ESTIMATION = 'STATE_ESTIMATION',
18+
PCC_MIN = 'PCC_MIN',
1819
}
1920

2021
export const isValidComputingType = (value: string | undefined): boolean => {
@@ -41,6 +42,8 @@ export const formatComputingTypeLabel = (type: ComputingType): string | undefine
4142
return 'DynamicSecurityAnalysis';
4243
case ComputingType.STATE_ESTIMATION:
4344
return 'StateEstimation';
45+
case ComputingType.PCC_MIN:
46+
return 'PccMin';
4447
default:
4548
console.warn(`Unrecognized computing type while formatting its label : ${type}`);
4649
return undefined;

0 commit comments

Comments
 (0)