-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix OFCC triggered after any outage #1078
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
40 changes: 40 additions & 0 deletions
40
tests/src/test/resources/files/cases/epic16/12Nodes3ParallelLines.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,40 @@ | ||
##C 2007.05.01 | ||
##N | ||
##ZBE | ||
BBE1AA1 BE1 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
BBE2AA1 BE2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
BBE3AA1 BE3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
##ZDE | ||
DDE1AA1 DE1 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
DDE2AA1 DE2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
DDE3AA1 DE3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
##ZFR | ||
FFR1AA1 FR1 0 2 400.00 1000.00 0.00000 00000.0 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
FFR2AA1 FR2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
FFR3AA1 FR3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
##ZNL | ||
NNL1AA1 NL1 0 2 400.00 0.00000 0.00000 -1000.0 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
NNL2AA1 NL2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
NNL3AA1 NL3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
##L | ||
BBE1AA1 BBE2AA1 1 0 0.0000 10.000 0.000000 5000 | ||
BBE1AA1 BBE3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
FFR1AA1 FFR2AA1 1 0 0.0000 10.000 0.000000 5000 | ||
FFR1AA1 FFR3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
FFR2AA1 FFR3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
DDE1AA1 DDE2AA1 1 0 0.0000 10.000 0.000000 5000 | ||
DDE1AA1 DDE3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
DDE2AA1 DDE3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
NNL1AA1 NNL2AA1 1 0 0.0000 10.000 0.000000 5000 | ||
NNL1AA1 NNL2AA1 2 0 0.0000 10.000 0.000000 5000 | ||
NNL1AA1 NNL2AA1 3 0 0.0000 10.000 0.000000 5000 | ||
NNL1AA1 NNL3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
NNL2AA1 NNL3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
FFR2AA1 DDE3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
DDE2AA1 NNL3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
NNL2AA1 BBE3AA1 1 0 0.0000 10.000 0.000000 410 | ||
BBE2AA1 FFR3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
##T | ||
BBE2AA1 BBE3AA1 1 0 400.0 400.0 1000. 0.0000 10.000 0.000000 0.0 5000 PST | ||
##R | ||
BBE2AA1 BBE3AA1 1 -0.68 90.00 16 0 SYMM |
41 changes: 41 additions & 0 deletions
41
tests/src/test/resources/files/cases/epic16/12Nodes4ParallelLines.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,41 @@ | ||
##C 2007.05.01 | ||
##N | ||
##ZBE | ||
BBE1AA1 BE1 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
BBE2AA1 BE2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
BBE3AA1 BE3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
##ZDE | ||
DDE1AA1 DE1 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
DDE2AA1 DE2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
DDE3AA1 DE3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
##ZFR | ||
FFR1AA1 FR1 0 2 400.00 1000.00 0.00000 00000.0 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
FFR2AA1 FR2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
FFR3AA1 FR3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
##ZNL | ||
NNL1AA1 NL1 0 2 400.00 0.00000 0.00000 -1000.0 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
NNL2AA1 NL2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
NNL3AA1 NL3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0 | ||
##L | ||
BBE1AA1 BBE2AA1 1 0 0.0000 10.000 0.000000 5000 | ||
BBE1AA1 BBE3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
FFR1AA1 FFR2AA1 1 0 0.0000 10.000 0.000000 5000 | ||
FFR1AA1 FFR3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
FFR2AA1 FFR3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
DDE1AA1 DDE2AA1 1 0 0.0000 10.000 0.000000 5000 | ||
DDE1AA1 DDE3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
DDE2AA1 DDE3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
NNL1AA1 NNL2AA1 1 0 0.0000 10.000 0.000000 5000 | ||
NNL1AA1 NNL2AA1 2 0 0.0000 10.000 0.000000 5000 | ||
NNL1AA1 NNL2AA1 3 0 0.0000 10.000 0.000000 5000 | ||
NNL1AA1 NNL2AA1 4 8 0.0000 10.000 0.000000 5000 | ||
NNL1AA1 NNL3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
NNL2AA1 NNL3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
FFR2AA1 DDE3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
DDE2AA1 NNL3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
NNL2AA1 BBE3AA1 1 0 0.0000 10.000 0.000000 410 | ||
BBE2AA1 FFR3AA1 1 0 0.0000 10.000 0.000000 5000 | ||
##T | ||
BBE2AA1 BBE3AA1 1 0 400.0 400.0 1000. 0.0000 10.000 0.000000 0.0 5000 PST | ||
##R | ||
BBE2AA1 BBE3AA1 1 -0.68 90.00 16 0 SYMM |
100 changes: 100 additions & 0 deletions
100
tests/src/test/resources/files/crac/epic16/crac_16_5_14.json
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,100 @@ | ||
{ | ||
"type" : "CRAC", | ||
"version" : "2.4", | ||
"info" : "Generated by FARAO http://farao-community.github.io", | ||
"id" : "CRAC 16.5.14", | ||
"name" : "CRAC 16.5.14", | ||
"instants" : [ { | ||
"id": "preventive", | ||
"kind": "PREVENTIVE" | ||
}, { | ||
"id": "outage", | ||
"kind": "OUTAGE" | ||
}, { | ||
"id": "auto", | ||
"kind": "AUTO" | ||
}, { | ||
"id": "curative", | ||
"kind": "CURATIVE" | ||
} ], | ||
"networkElementsNamePerId" : { }, | ||
"contingencies" : [ { | ||
"id" : "co_nl1_nl_2_1", | ||
"networkElementsIds" : [ "NNL1AA1 NNL2AA1 1" ] | ||
}, { | ||
"id" : "co_nl1_nl_2_3", | ||
"networkElementsIds" : [ "NNL1AA1 NNL2AA1 3" ] | ||
} ], | ||
"flowCnecs" : [ { | ||
"id" : "nl1_nl2_2_preventive", | ||
"name" : "nl1_nl2_2_preventive", | ||
"networkElementId" : "NNL1AA1 NNL2AA1 2", | ||
"operator" : "NL", | ||
"instant" : "preventive", | ||
"contingencyId" : null, | ||
"optimized" : true, | ||
"monitored" : false, | ||
"reliabilityMargin" : 0.0, | ||
"iMax" : [ NaN ], | ||
"nominalV" : [ 220.0 ], | ||
"thresholds" : [ { | ||
"unit" : "megawatt", | ||
"max" : 250.0, | ||
"min" : -250.0, | ||
"side" : 1 | ||
} ] | ||
}, { | ||
"id" : "nl1_nl2_2_auto - co_nl1_nl_2_1", | ||
"name" : "nl1_nl2_2_auto - co_nl1_nl_2_1", | ||
"networkElementId" : "NNL1AA1 NNL2AA1 2", | ||
"operator" : "NL", | ||
"instant" : "auto", | ||
"contingencyId" : "co_nl1_nl_2_1", | ||
"optimized" : true, | ||
"monitored" : false, | ||
"reliabilityMargin" : 0.0, | ||
"iMax" : [ NaN ], | ||
"nominalV" : [ 220.0 ], | ||
"thresholds" : [ { | ||
"unit" : "megawatt", | ||
"max" : 300.0, | ||
"min" : -300.0, | ||
"side" : 1 | ||
} ] | ||
}, { | ||
"id" : "nl1_nl2_2_auto - co_nl1_nl_2_3", | ||
"name" : "nl1_nl2_2_auto - co_nl1_nl_2_3", | ||
"networkElementId" : "NNL1AA1 NNL2AA1 2", | ||
"operator" : "NL", | ||
"instant" : "auto", | ||
"contingencyId" : "co_nl1_nl_2_3", | ||
"optimized" : true, | ||
"monitored" : false, | ||
"reliabilityMargin" : 0.0, | ||
"iMax" : [ NaN ], | ||
"nominalV" : [ 220.0 ], | ||
"thresholds" : [ { | ||
"unit" : "megawatt", | ||
"max" : 400.0, | ||
"min" : -400.0, | ||
"side" : 1 | ||
} ] | ||
} ], | ||
"pstRangeActions" : [ ], | ||
"injectionRangeActions" : [ ], | ||
"counterTradeRangeActions" : [ ], | ||
"networkActions" : [ { | ||
"id" : "open_nl1_nl2_2", | ||
"name" : "open_nl1_nl2_2", | ||
"operator" : "NL", | ||
"onFlowConstraintInCountryUsageRules" : [ { | ||
"instant" : "auto", | ||
"country" : "NL", | ||
"usageMethod" : "forced" | ||
} ], | ||
"topologicalActions" : [ { | ||
"networkElementId" : "NNL1AA1 NNL2AA1 2", | ||
"actionType" : "open" | ||
} ] | ||
} ] | ||
} |
97 changes: 97 additions & 0 deletions
97
tests/src/test/resources/files/crac/epic16/crac_16_5_15.json
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,97 @@ | ||
{ | ||
"type" : "CRAC", | ||
"version" : "2.4", | ||
"info" : "Generated by FARAO http://farao-community.github.io", | ||
"id" : "CRAC 16.5.15", | ||
"name" : "CRAC 16.5.15", | ||
"instants" : [ { | ||
"id": "preventive", | ||
"kind": "PREVENTIVE" | ||
}, { | ||
"id": "outage", | ||
"kind": "OUTAGE" | ||
}, { | ||
"id": "curative", | ||
"kind": "CURATIVE" | ||
} ], | ||
"networkElementsNamePerId" : { }, | ||
"contingencies" : [ { | ||
"id" : "co_nl1_nl_2_1", | ||
"networkElementsIds" : [ "NNL1AA1 NNL2AA1 1" ] | ||
}, { | ||
"id" : "co_nl1_nl_2_3", | ||
"networkElementsIds" : [ "NNL1AA1 NNL2AA1 3" ] | ||
} ], | ||
"flowCnecs" : [ { | ||
"id" : "nl1_nl2_2_preventive", | ||
"name" : "nl1_nl2_2_preventive", | ||
"networkElementId" : "NNL1AA1 NNL2AA1 2", | ||
"operator" : "NL", | ||
"instant" : "preventive", | ||
"contingencyId" : null, | ||
"optimized" : true, | ||
"monitored" : false, | ||
"reliabilityMargin" : 0.0, | ||
"iMax" : [ NaN ], | ||
"nominalV" : [ 220.0 ], | ||
"thresholds" : [ { | ||
"unit" : "megawatt", | ||
"max" : 250.0, | ||
"min" : -250.0, | ||
"side" : 1 | ||
} ] | ||
}, { | ||
"id" : "nl1_nl2_2_curative - co_nl1_nl_2_1", | ||
"name" : "nl1_nl2_2_curative - co_nl1_nl_2_1", | ||
"networkElementId" : "NNL1AA1 NNL2AA1 2", | ||
"operator" : "NL", | ||
"instant" : "curative", | ||
"contingencyId" : "co_nl1_nl_2_1", | ||
"optimized" : true, | ||
"monitored" : false, | ||
"reliabilityMargin" : 0.0, | ||
"iMax" : [ NaN ], | ||
"nominalV" : [ 220.0 ], | ||
"thresholds" : [ { | ||
"unit" : "megawatt", | ||
"max" : 300.0, | ||
"min" : -300.0, | ||
"side" : 1 | ||
} ] | ||
}, { | ||
"id" : "nl1_nl2_2_curative - co_nl1_nl_2_3", | ||
"name" : "nl1_nl2_2_curative - co_nl1_nl_2_3", | ||
"networkElementId" : "NNL1AA1 NNL2AA1 2", | ||
"operator" : "NL", | ||
"instant" : "curative", | ||
"contingencyId" : "co_nl1_nl_2_3", | ||
"optimized" : true, | ||
"monitored" : false, | ||
"reliabilityMargin" : 0.0, | ||
"iMax" : [ NaN ], | ||
"nominalV" : [ 220.0 ], | ||
"thresholds" : [ { | ||
"unit" : "megawatt", | ||
"max" : 400.0, | ||
"min" : -400.0, | ||
"side" : 1 | ||
} ] | ||
} ], | ||
"pstRangeActions" : [ ], | ||
"injectionRangeActions" : [ ], | ||
"counterTradeRangeActions" : [ ], | ||
"networkActions" : [ { | ||
"id" : "close_nl1_nl2_4", | ||
"name" : "close_nl1_nl2_4", | ||
"operator" : "NL", | ||
"onFlowConstraintInCountryUsageRules" : [ { | ||
"instant" : "curative", | ||
"country" : "NL", | ||
"usageMethod" : "available" | ||
} ], | ||
"topologicalActions" : [ { | ||
"networkElementId" : "NNL1AA1 NNL2AA1 4", | ||
"actionType" : "close" | ||
} ] | ||
} ] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also check the curative cnecs on the same contingency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(to check with Sebastien)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a good question... I would say no, but still have to check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preparing for a release this afternoon or tomorrow morning, shall we include this fix?