-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
We almost no-where in our docs specify that r >= 0. We do specify that r and x cannot be both 0.0.
This may lead to multiple places in our code having UB in which we do not check for negative values of r.
The only places where we do check that r >= 0 is:
- for source (via
rx_ratioandz01_ratio) - for asymmetric line
- TBD: we also require that
x > 0andc > 0. Is that correct?
- TBD: we also require that
- for automatic tap regulator (line drop compensation)
Originally posted by @mgovers in #1197 (comment)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Status
Q4 2025