Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
  • Loading branch information
geofjamg committed Oct 8, 2023
1 parent 802b36c commit 7027207
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ protected AbstractClosedBranchDcFlowEquationTerm(LfBranch branch, LfBus bus1, Lf
}

public static double calculatePower(boolean useTransformerRatio, DcApproximationType dcApproximationType, PiModel piModel) {
// b = – x / (r^2 + x^2)
double b = switch (dcApproximationType) {
case IGNORE_R -> 1d / piModel.getX();
case IGNORE_G -> {
Expand Down

0 comments on commit 7027207

Please sign in to comment.