Skip to content

Commit

Permalink
Try fixing GLSK extension formulae part 2
Browse files Browse the repository at this point in the history
Signed-off-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
  • Loading branch information
murgeyseb committed Jun 3, 2024
1 parent f90bf4d commit 39f5fff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private static Scalable getStackedScalable(CseCountry cseCountry, Scalable scala
List<Scalable> scalableList = new ArrayList<>();

network.getLoadStream()
.filter(load -> isLoadCorrespondingToTheCountry(load, cseCountry) && load.getP0() > 0)
.filter(load -> isLoadCorrespondingToTheCountry(load, cseCountry))
.forEach(load -> {
percentageList.add(Math.abs(load.getP0() / sum) * 100);
scalableList.add(Scalable.onLoad(load.getId()));
Expand Down

0 comments on commit 39f5fff

Please sign in to comment.