Skip to content

Add network constraints for load flow analysis#138

Merged
alihamdan merged 5 commits intodevelopfrom
limits
Oct 9, 2023
Merged

Add network constraints for load flow analysis#138
alihamdan merged 5 commits intodevelopfrom
limits

Conversation

@alihamdan
Copy link
Member

The constraints are not used by the load flow solver. They are only used to analyze the results.

The constraints that can be defined include:

  • For buses: minimum and maximum voltages. Use bus.res_violated to see if the bus has over- or under-voltage.
  • For lines: a maximum current. Use line.res_violated to see if the loading of any of the line's cables is too high.
  • For transformers: a maximum power. Use transformer.res_violated to see if the transformer loading is too high.
  • The new fields also appear in the data frames of the network.

I still need to change the documentation.

@alihamdan alihamdan added the enhancement New feature or request label Oct 6, 2023
@alihamdan alihamdan self-assigned this Oct 6, 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.

👍 The documentation remains and it will be good!

@alihamdan alihamdan requested a review from benoit9126 October 9, 2023 13:45
@alihamdan alihamdan merged commit ec177be into develop Oct 9, 2023
@alihamdan alihamdan deleted the limits branch October 9, 2023 13:49
@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.

2 participants