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 voltage unbalance calculation #142

Merged
merged 3 commits into from
Oct 30, 2023
Merged

Add voltage unbalance calculation #142

merged 3 commits into from
Oct 30, 2023

Conversation

alihamdan
Copy link
Member

Closes #136

Add method res_voltage_unbalance to 3-phase buses that calculates the voltage unbalance factor. Note that this is a method, not a property, so that we can support more standards in the future by passing arguments to this method.

Voltage unbalance does not make sense for non 3-phase buses thus we raise an error with a helpful message.

I also fixed the symmetrical to phasor converters to preserve the shape of the input array.

@alihamdan alihamdan added the enhancement New feature or request label Oct 30, 2023
@alihamdan alihamdan self-assigned this Oct 30, 2023
Copy link
Member

@benoit9126 benoit9126 left a comment

Choose a reason for hiding this comment

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

A comment on the unit of the result which could be added to avoid confusion.

roseau/load_flow/models/buses.py Show resolved Hide resolved
@alihamdan alihamdan merged commit 2857e43 into develop Oct 30, 2023
5 checks passed
@alihamdan alihamdan deleted the vuf branch October 30, 2023 16:53
@benoit9126 benoit9126 mentioned this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: Voltage Unbalance Factor (VUF)
2 participants