-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gather all the unit conversions into one file #2447
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has totally checked 686 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
639 | 1 | 46 | 0 |
Click to see the invalid file list
- src/components/dialogs/converter-unit-utils.ts
Signed-off-by: Thang PHAM <phamthang37@gmail.com>
...nents/dialogs/network-modifications/voltage-level/creation/voltage-level-creation-dialog.jsx
Outdated
Show resolved
Hide resolved
...alogs/network-modifications/voltage-level/modification/voltage-level-modification-dialog.jsx
Outdated
Show resolved
Hide resolved
src/components/results/shortcircuit/shortcircuit-analysis-result-content.ts
Outdated
Show resolved
Hide resolved
src/components/results/shortcircuit/shortcircuit-analysis-result-table.tsx
Outdated
Show resolved
Hide resolved
src/components/results/shortcircuit/shortcircuit-analysis-result-table.tsx
Outdated
Show resolved
Hide resolved
src/components/results/shortcircuit/shortcircuit-analysis-result-table.tsx
Outdated
Show resolved
Hide resolved
src/components/results/shortcircuit/shortcircuit-analysis-result-table.tsx
Outdated
Show resolved
Hide resolved
src/components/results/shortcircuit/shortcircuit-analysis-result-table.tsx
Outdated
Show resolved
Hide resolved
…ne-file' into mutualize-unit-conversion-into-one-file
…ne-file' into mutualize-unit-conversion-into-one-file
...nents/dialogs/network-modifications/voltage-level/creation/voltage-level-creation-dialog.jsx
Outdated
Show resolved
Hide resolved
...nents/dialogs/network-modifications/voltage-level/creation/voltage-level-creation-dialog.jsx
Outdated
Show resolved
Hide resolved
...nents/dialogs/network-modifications/voltage-level/creation/voltage-level-creation-dialog.jsx
Outdated
Show resolved
Hide resolved
...nents/dialogs/network-modifications/voltage-level/creation/voltage-level-creation-dialog.jsx
Outdated
Show resolved
Hide resolved
...alogs/network-modifications/voltage-level/modification/voltage-level-modification-dialog.jsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Thang PHAM <phamthang37@gmail.com>
Signed-off-by: Thang PHAM <phamthang37@gmail.com>
Signed-off-by: Thang PHAM <phamthang37@gmail.com>
Signed-off-by: Thang PHAM <phamthang37@gmail.com>
case B2: | ||
return unitToMicroUnit(value?.value); | ||
return convertInputValues(FieldType.B2, value?.value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's about MAX_SUSCEPTANCE, in IHM is S and IIDM is MicroS ?
Also, the csv file the value edited for MAX_SUSCEPTANCE is in S or MicroS ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is planned to handle the fix for labels for all the IHM of gridstudy in another PR (we have already another US to fix this)
case B2: | ||
return toModificationOperation(microUnitToUnit(value)); | ||
return toModificationOperation(convertOutputValues(FieldType.B2, value)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem, what's about MAX_SUSCEPTANCE, in IHM is S and IIDM is MicroS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same
MAXIMUM_SUSCEPTANCE: { | ||
id: FieldType.MAXIMUM_SUSCEPTANCE, | ||
MAX_SUSCEPTANCE: { | ||
id: FieldType.MAX_SUSCEPTANCE, | ||
label: 'maxSusceptance', | ||
unit: MICRO_SIEMENS, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MICRO_SIEMENS to SIEMENS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MVar and not Micro S
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same
No description provided.