Skip to content

Commit

Permalink
rename MAXIMUM_SUSCEPTANCE to MAX_SUSCEPTANCE and MAXIMUM_Q_AT_NOMINA…
Browse files Browse the repository at this point in the history
…L_VOLTAGE to MAX_Q_AT_NOMINAL_V
  • Loading branch information
ghazwarhili committed Dec 19, 2024
1 parent 8e6701e commit f819596
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,16 @@ export const FIELD_OPTIONS = {
label: 'sectionCount',
dataType: DataType.INTEGER,
},
MAXIMUM_SUSCEPTANCE: {
id: FieldType.MAXIMUM_SUSCEPTANCE,
MAX_SUSCEPTANCE: {
id: FieldType.MAX_SUSCEPTANCE,
label: 'maxSusceptance',
unit: MICRO_SIEMENS,
dataType: DataType.DOUBLE,
outputConverter: (value) => microUnitToUnit(value),
inputConverter: (value) => unitToMicroUnit(value),
},
MAXIMUM_Q_AT_NOMINAL_VOLTAGE: {
id: FieldType.MAXIMUM_Q_AT_NOMINAL_VOLTAGE,
MAX_Q_AT_NOMINAL_V: {
id: FieldType.MAX_Q_AT_NOMINAL_V,
label: 'maxQAtNominalV',
unit: MICRO_SIEMENS,
dataType: DataType.DOUBLE,
Expand Down Expand Up @@ -314,8 +314,8 @@ export const EQUIPMENTS_FIELDS = {
FIELD_OPTIONS.PROPERTY,
FIELD_OPTIONS.MAXIMUM_SECTION_COUNT,
FIELD_OPTIONS.SECTION_COUNT,
FIELD_OPTIONS.MAXIMUM_SUSCEPTANCE,
FIELD_OPTIONS.MAXIMUM_Q_AT_NOMINAL_VOLTAGE,
FIELD_OPTIONS.MAX_SUSCEPTANCE,
FIELD_OPTIONS.MAX_Q_AT_NOMINAL_V,
],
[EquipmentType.STATIC_VAR_COMPENSATOR]: [FIELD_OPTIONS.PROPERTY],
[EquipmentType.HVDC_LINE]: [FIELD_OPTIONS.PROPERTY],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export enum FieldType {
VOLTAGE_REGULATOR_ON = 'VOLTAGE_REGULATOR_ON',
MAXIMUM_SECTION_COUNT = 'MAXIMUM_SECTION_COUNT',
SECTION_COUNT = 'SECTION_COUNT',
MAXIMUM_SUSCEPTANCE = 'MAXIMUM_SUSCEPTANCE',
MAXIMUM_Q_AT_NOMINAL_VOLTAGE = 'MAXIMUM_Q_AT_NOMINAL_VOLTAGE',
MAX_SUSCEPTANCE = 'MAX_SUSCEPTANCE',
MAX_Q_AT_NOMINAL_V = 'MAX_Q_AT_NOMINAL_V',
NOMINAL_VOLTAGE = 'NOMINAL_VOLTAGE',
LOW_VOLTAGE_LIMIT = 'LOW_VOLTAGE_LIMIT',
HIGH_VOLTAGE_LIMIT = 'HIGH_VOLTAGE_LIMIT',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export const EQUIPMENTS_FIELDS: EquipmentFields = {
[EQUIPMENT_TYPES.SHUNT_COMPENSATOR]: [
{ id: 'MAXIMUM_SECTION_COUNT', label: 'maximumSectionCount' },
{ id: 'SECTION_COUNT', label: 'sectionCount' },
{ id: 'MAXIMUM_SUSCEPTANCE', label: 'maxSusceptance' },
{ id: 'MAXIMUM_Q_AT_NOMINAL_VOLTAGE', label: 'maxQAtNominalV' },
{ id: 'MAX_SUSCEPTANCE', label: 'maxSusceptance' },
{ id: 'MAX_Q_AT_NOMINAL_V', label: 'maxQAtNominalV' },
],
[EQUIPMENT_TYPES.VOLTAGE_LEVEL]: [
{ id: 'NOMINAL_VOLTAGE', label: 'NominalVoltage' },
Expand Down

0 comments on commit f819596

Please sign in to comment.