Skip to content

Commit

Permalink
fix threshold for inital shift
Browse files Browse the repository at this point in the history
  • Loading branch information
WalAmeni committed May 13, 2024
1 parent 6754214 commit 7f431ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private void shiftNetwork(Map<String, Double> scalingValuesByCountry, CseRequest
double done = zonalScalable.getData(zoneId).scale(network, asked, scalingParameters);
businessLogger.info(String.format("Applying variation on zone %s (target: %.2f, done: %.2f)", zoneId, asked, done));

if (Math.abs(done - asked) > 1e-3) {
if (Math.abs(done - asked) > 1e-2) {
businessLogger.warn(String.format("Glsk limitation : Incomplete variation on zone %s (target: %.3f, done: %.3f)",
zoneId, asked, done));
if (zoneId.equals(new EICode(Country.IT).getAreaCode())) {
Expand Down

0 comments on commit 7f431ab

Please sign in to comment.