-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a check to avoid a nan when calculating the leaving flow from dan…
…glingline (#120) * add a check to avoid a nan when we calculating the leaving flow from danglingline --------- Signed-off-by: KAHYA Amira <amira.kahya@rte-france.com>
- Loading branch information
Showing
4 changed files
with
52 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
balances-adjustment/src/test/resources/testCaseNanInNetPositionComputation.uct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
##C 2007.05.01 | ||
Manually made test case to fix NaN issue in net position computation | ||
##N | ||
##ZCH | ||
S 21 0 0 0.00000 0.00000 0.00000 0.00000 | ||
##ZIT | ||
I 22 0 0 0.00000 0.00000 0.00000 0.00000 | ||
##ZXX | ||
X_S_I_21 0 0 0.00000 0.00000 0.00000 0.00000 | ||
##L | ||
S 21 X_S_I_21 1 8 2.0000 10.000 100.0000 9999 | ||
X_S_I_21 I 22 1 0 2.0000 10.000 100.0000 9999 |