Skip to content

Commit 8f06c7b

Browse files
Unabbreviate THD in the Metric enum
Metrics for Total Harmonic Distortion have been un-abbreviated: - `METRIC_AC_THD_CURRENT` -> `METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT` - `METRIC_AC_THD_CURRENT_PHASE_[1|2|3]` -> `METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT_PHASE_[1|2|3]` Signed-off-by: Tiyash Basu <[email protected]>
1 parent aeca5de commit 8f06c7b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
`METRIC_AC_APPARENT_CURRENT` -> `METRIC_AC_CURRENT`
2727
`METRIC_AC_APPARENT_CURRENT_PHASE_[1|2|3]` -> `METRIC_AC_CURRENT_PHASE_[1|2|3]`
2828

29+
- Metrics for Total Harmonic Distortion have been un-abbreviated:
30+
`METRIC_AC_THD_CURRENT` -> `METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT`
31+
`METRIC_AC_THD_CURRENT_PHASE_[1|2|3]` -> `METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT_PHASE_[1|2|3]`
32+
2933
## New Features
3034

3135
- Added a `Frequenz.api.common.v1.types.Decimal` type, compatible with

proto/frequenz/api/common/v1/metrics/metric_sample.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ enum Metric {
129129
METRIC_AC_REACTIVE_ENERGY_PHASE_3 = 70;
130130

131131
// AC harmonics
132-
METRIC_AC_THD_CURRENT = 80;
133-
METRIC_AC_THD_CURRENT_PHASE_1 = 81;
134-
METRIC_AC_THD_CURRENT_PHASE_2 = 82;
135-
METRIC_AC_THD_CURRENT_PHASE_3 = 83;
132+
METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT = 80;
133+
METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT_PHASE_1 = 81;
134+
METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT_PHASE_2 = 82;
135+
METRIC_AC_TOTAL_HARMONIC_DISTORTION_CURRENT_PHASE_3 = 83;
136136

137137
// General BMS metrics.
138138
METRIC_BATTERY_CAPACITY = 101;

0 commit comments

Comments
 (0)