Skip to content

Commit

Permalink
clean unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ghazwarhili committed Oct 22, 2024
1 parent cd88a41 commit 52fb41e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ private StaticVarCompensatorAdder createStaticVarCompensatorAdderInNodeBreaker(V
staticVarCompensatorCreationInfos.getRegulatingTerminalType(),
staticVarCompensatorCreationInfos.getRegulatingTerminalVlId());
double bMax = Objects.isNull(staticVarCompensatorCreationInfos.getMaxSusceptance()) && Objects.nonNull(staticVarCompensatorCreationInfos.getMaxQAtNominalV()) ?
(staticVarCompensatorCreationInfos.getMaxQAtNominalV()) / Math.pow(voltageLevel.getNominalV(), 2) : nanIfNull(staticVarCompensatorCreationInfos.getMaxSusceptance());
(staticVarCompensatorCreationInfos.getMaxQAtNominalV()) / Math.pow(voltageLevel.getNominalV(), 2) : staticVarCompensatorCreationInfos.getMaxSusceptance();
double bMin = Objects.isNull(staticVarCompensatorCreationInfos.getMinSusceptance()) && Objects.nonNull(staticVarCompensatorCreationInfos.getMinQAtNominalV()) ?
(staticVarCompensatorCreationInfos.getMinQAtNominalV()) / Math.pow(voltageLevel.getNominalV(), 2) : nanIfNull(staticVarCompensatorCreationInfos.getMinSusceptance());
(staticVarCompensatorCreationInfos.getMinQAtNominalV()) / Math.pow(voltageLevel.getNominalV(), 2) : staticVarCompensatorCreationInfos.getMinSusceptance();
StaticVarCompensatorAdder staticVarCompensatorAdder = voltageLevel.newStaticVarCompensator()
.setId(staticVarCompensatorCreationInfos.getEquipmentId())
.setName(staticVarCompensatorCreationInfos.getEquipmentName())
Expand Down

0 comments on commit 52fb41e

Please sign in to comment.