Skip to content

Commit

Permalink
fix Jenkins (#1231)
Browse files Browse the repository at this point in the history
* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: phiedw <[email protected]>
  • Loading branch information
Godelaine and phiedw authored Dec 12, 2024
1 parent b4060b5 commit 3bc7992
Show file tree
Hide file tree
Showing 2 changed files with 309 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,15 @@ Feature: US 7.10: Search-tree RAO with loopflow limitation
@fast @rao @mock @ac @preventive-only @loopflow
Scenario: US 7.10.6: Complex search tree RAO with LF limitation
Given network file is "common/TestCase12Nodes2PSTs.uct"
Given crac file is "epic7/crac_lf_rao_4.json"
Given crac file is "epic7/crac_lf_rao_5.json"
Given loopflow glsk file is "common/glsk_lots_of_lf_12nodes.xml"
Given configuration file is "epic7/RaoParameters_maxMargin_mw_ac_lf_false_5_100.json"
When I launch loopflow search_tree_rao with default loopflow limit as 35.0 percent of pmax
Then its security status should be "UNSECURED"
Then the worst margin is -290.0 MW
Then the worst margin is -290.0 MW on cnec "FFR1AA1 FFR2AA1 1 - preventive"
Then the tap of PstRangeAction "PRA_PST_DE" should be -11 in preventive
Then the tap of PstRangeAction "PRA_PST_BE" should be -1 in preventive
Then 2 remedial actions are used in preventive
Then the tap of PstRangeAction "PRA_PST_DE" should be -12 in preventive
Then 1 remedial actions are used in preventive
And the loopflow threshold on cnec "BBE2AA1 FFR3AA1 1 - preventive" should be 525.5 MW
And the initial loopflow on cnec "BBE2AA1 FFR3AA1 1 - preventive" should be -391.0 MW
And the loopflow on cnec "BBE2AA1 FFR3AA1 1 - preventive" after PRA should be -521.0 MW
306 changes: 306 additions & 0 deletions tests/src/test/resources/files/crac/epic7/crac_lf_rao_5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,306 @@
{
"type" : "CRAC",
"version" : "1.3",
"info" : "Generated by FARAO http://farao-community.github.io",
"id" : "LS_parade_PST",
"name" : "LS_parade_PST",
"networkElementsNamePerId" : { },
"contingencies" : [ ],
"flowCnecs" : [ {
"id" : "BBE1AA1 BBE2AA1 1 - preventive",
"name" : "BBE1AA1 BBE2AA1 1",
"networkElementId" : "BBE1AA1 BBE2AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -750.0,
"max" : 750.0,
"rule" : "onLeftSide"
} ]
}, {
"id" : "BBE2AA1 BBE3AA1 1 - preventive",
"name" : "BBE2AA1 BBE3AA1 1",
"networkElementId" : "BBE2AA1 BBE3AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -500.0,
"max" : 500.0,
"rule" : "onLeftSide"
} ]
}, {
"id" : "BBE2AA1 FFR3AA1 1 - preventive",
"name" : "BBE2AA1 FFR3AA1 1",
"networkElementId" : "BBE2AA1 FFR3AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -1500.0,
"max" : 1500.0,
"rule" : "onLeftSide"
} ]
}, {
"id" : "DDE1AA1 DDE2AA1 1 - preventive",
"name" : "DDE1AA1 DDE2AA1 1",
"networkElementId" : "DDE1AA1 DDE2AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -500.0,
"max" : 500.0,
"rule" : "onLeftSide"
} ]
}, {
"id" : "DDE2AA1 NNL3AA1 1 - preventive",
"name" : "DDE2AA1 NNL3AA1 1",
"networkElementId" : "DDE2AA1 NNL3AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -1500.0,
"max" : 1500.0,
"rule" : "onLeftSide"
} ]
}, {
"id" : "FFR1AA1 FFR2AA1 1 - preventive",
"name" : "FFR1AA1 FFR2AA1 1",
"networkElementId" : "FFR1AA1 FFR2AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -1000.0,
"max" : 1000.0,
"rule" : "onLeftSide"
} ]
}, {
"id" : "FFR1AA1 FFR3AA1 1 - preventive",
"name" : "FFR1AA1 FFR3AA1 1",
"networkElementId" : "FFR1AA1 FFR3AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -500.0,
"max" : 500.0,
"rule" : "onLeftSide"
} ]
}, {
"id" : "FFR2AA1 DDE3AA1 1 - preventive",
"name" : "FFR2AA1 DDE3AA1 1",
"networkElementId" : "FFR2AA1 DDE3AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -1500.0,
"max" : 1500.0,
"rule" : "onLeftSide"
} ]
}, {
"id" : "NNL1AA1 NNL3AA1 1 - preventive",
"name" : "NNL1AA1 NNL3AA1 1",
"networkElementId" : "NNL1AA1 NNL3AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -500.0,
"max" : 500.0,
"rule" : "onLeftSide"
} ]
}, {
"id" : "NNL2AA1 BBE3AA1 1 - preventive",
"name" : "NNL2AA1 BBE3AA1 1",
"networkElementId" : "NNL2AA1 BBE3AA1 1",
"operator" : null,
"instant" : "preventive",
"optimized" : true,
"monitored" : false,
"frm" : 0.0,
"iMax" : [ 5000.0 ],
"nominalV" : [ 400.0 ],
"thresholds" : [ {
"unit" : "megawatt",
"min" : -1750.0,
"max" : 1750.0,
"rule" : "onLeftSide"
} ]
} ],
"pstRangeActions" : [{
"id" : "PRA_PST_DE",
"name" : "PRA_PST_DE",
"operator" : "DE",
"freeToUseUsageRules" : [ {
"instant" : "preventive",
"usageMethod" : "available"
} ],
"networkElementId" : "DDE2AA1 DDE3AA1 1",
"initialTap" : 0,
"tapToAngleConversionMap" : {
"-1" : -0.3896097993971608,
"0" : 0.0,
"-2" : -0.7792105912934298,
"1" : 0.3896097993971608,
"-3" : -1.1687933694373345,
"2" : 0.7792105912934298,
"-4" : -1.5583491300758083,
"3" : 1.1687933694373345,
"-5" : -1.9478688732023104,
"4" : 1.5583491300758083,
"-6" : -2.337343603803646,
"5" : 1.9478688732023104,
"-7" : -2.7267643331050597,
"6" : 2.337343603803646,
"-8" : -3.1161220798131644,
"7" : 2.7267643331050597,
"-9" : -3.505407871356285,
"8" : 3.1161220798131644,
"-10" : -3.894612745121778,
"9" : 3.505407871356285,
"-11" : -4.283727749689918,
"10" : 3.894612745121778,
"-12" : -4.672743946063913,
"11" : 4.283727749689918,
"-13" : -5.061652408895631,
"12" : 4.672743946063913,
"-14" : -5.4504442277066305,
"13" : 5.061652408895631,
"-15" : -5.839110508104064,
"14" : 5.4504442277066305,
"-16" : -6.2276423729910535,
"15" : 5.839110508104064,
"16" : 6.2276423729910535
},
"ranges" : [ {
"min" : -16,
"max" : 16,
"rangeType" : "absolute"
} ]
} ],
"hvdcRangeActions" : [ ],
"injectionRangeActions" : [ ],
"networkActions" : [ {
"id" : "Open_BE1_BE3",
"name" : "Open_BE1_BE3",
"operator" : "RTE",
"freeToUseUsageRules" : [ {
"instant" : "preventive",
"usageMethod" : "available"
} ],
"topologicalActions" : [ {
"networkElementId" : "BBE1AA1 BBE3AA1 1",
"actionType" : "open"
} ]
}, {
"id" : "Open_DE1_DE2",
"name" : "Open_DE1_DE2",
"operator" : "RTE",
"freeToUseUsageRules" : [ {
"instant" : "preventive",
"usageMethod" : "available"
} ],
"topologicalActions" : [ {
"networkElementId" : "DDE1AA1 DDE2AA1 1",
"actionType" : "open"
} ]
}, {
"id" : "Open_DE1_DE3",
"name" : "Open_DE1_DE3",
"operator" : "RTE",
"freeToUseUsageRules" : [ {
"instant" : "preventive",
"usageMethod" : "available"
} ],
"topologicalActions" : [ {
"networkElementId" : "DDE1AA1 DDE3AA1 1",
"actionType" : "open"
} ]
}, {
"id" : "Open_FR2_FR3",
"name" : "Open_FR2_FR3",
"operator" : "RTE",
"freeToUseUsageRules" : [ {
"instant" : "preventive",
"usageMethod" : "available"
} ],
"topologicalActions" : [ {
"networkElementId" : "FFR2AA1 FFR3AA1 1",
"actionType" : "open"
} ]
}, {
"id" : "Open_NL1_NL2",
"name" : "Open_NL1_NL2",
"operator" : "RTE",
"freeToUseUsageRules" : [ {
"instant" : "preventive",
"usageMethod" : "available"
} ],
"topologicalActions" : [ {
"networkElementId" : "NNL1AA1 NNL2AA1 1",
"actionType" : "open"
} ]
}, {
"id" : "Open_NL2_NL3",
"name" : "Open_NL2_NL3",
"operator" : "RTE",
"freeToUseUsageRules" : [ {
"instant" : "preventive",
"usageMethod" : "available"
} ],
"topologicalActions" : [ {
"networkElementId" : "NNL2AA1 NNL3AA1 1",
"actionType" : "open"
} ]
} ]
}

0 comments on commit 3bc7992

Please sign in to comment.