-
Notifications
You must be signed in to change notification settings - Fork 8
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
Refacto lhs #1147
Refacto lhs #1147
Conversation
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
f5b28dc
to
90500d6
Compare
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
59f0008
to
f80af7a
Compare
f80af7a
to
f150475
Compare
default double eval(StateVector sv) { | ||
throw new UnsupportedOperationException("Not implemented"); | ||
default double evalLhs() { | ||
return eval() + (hasRhs() ? rhs() : 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be - rhs instead of + rhs ?
return eval() + (hasRhs() ? rhs() : 0); | |
return eval() - (hasRhs() ? rhs() : 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. Done.
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
1bbed47
to
87447f9
Compare
Quality Gate passedIssues Measures |
93bad2d
into
bugfix/pst-non-impedant-branch-bus-imbalance
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
This is another approach to fix #1137
What kind of change does this PR introduce?
Clairify the equation model:
and
eval = evallhs - rhs
evallhs is used to solve equations
eval is used to get the equation or term quantity
What is the current behavior?
Errors seen with non impedant branches in DC near a PST or an HVDC in AC emulation with P0 non null.
Potental inconsitenscies each time a non null RHS is used
What is the new behavior (if this is a feature change)?
Error fixed
Does this PR introduce a breaking change or deprecate an API?