Skip to content
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

Add line-to-line voltage metrics #206

Merged

Conversation

tiyash-basu-frequenz
Copy link
Contributor

This PR

  • Voltage metrics have been renamed from METRIC_VOLTAGE_PHASE_[1|2|3] to METRIC_VOLTAGE_PHASE_[1|2|3]_N.
  • The following new metrics have been added:
    • METRIC_VOLTAGE_PHASE_1_PHASE_2
    • METRIC_VOLTAGE_PHASE_2_PHASE_3
    • METRIC_VOLTAGE_PHASE_3_PHASE_1
  • The variants in the enum Metric have been renumberd due to the addition of
    line-to-line voltages.

Closes #135

@tiyash-basu-frequenz tiyash-basu-frequenz added the scope:breaking-change Breaking change, users will need to update their code label Mar 22, 2024
@tiyash-basu-frequenz tiyash-basu-frequenz self-assigned this Mar 22, 2024
@tiyash-basu-frequenz tiyash-basu-frequenz requested a review from a team as a code owner March 22, 2024 14:35
@github-actions github-actions bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files labels Mar 22, 2024
This commit makes the voltage metric terminals more explicit.

Note that,  when we say "Voltage", we mean the potential difference between
two points in a circuit. So knowing both points in these definitions help
readability.

Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
Due to how the metrics were numbered, the metrics had to be renumbered.

Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
Copy link
Contributor

@stefan-brus-frequenz stefan-brus-frequenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@TalweSingh TalweSingh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT!

@tiyash-basu-frequenz tiyash-basu-frequenz added this pull request to the merge queue Mar 22, 2024
Merged via the queue into frequenz-floss:v0.x.x with commit 387edab Mar 22, 2024
11 checks passed
@tiyash-basu-frequenz tiyash-basu-frequenz deleted the voltage branch March 22, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files scope:breaking-change Breaking change, users will need to update their code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Phase to Phase Voltages
3 participants