Skip to content

Commit 2a19dda

Browse files
authored
Notebook rao (#32)
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
1 parent 156e8e4 commit 2a19dda

File tree

7 files changed

+1681
-0
lines changed

7 files changed

+1681
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
- Sensitivity analysis and PTDF calculation [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/powsybl/pypowsybl-notebooks/main?labpath=sensitivity_analysis.ipynb)
1111
- Pypowsybl-Jupyter widgets notebook : [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/powsybl/pypowsybl-notebooks/main?labpath=pypowsybl_jupyter_widgets_demo.ipynb)
1212
- Network modifications in node/breaker topology notebook: [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/powsybl/pypowsybl-notebooks/main?labpath=network_modifications_node_breaker.ipynb)
13+
- Open-RAO notebook : [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/powsybl/pypowsybl-notebooks/main?labpath=open_rao.ipynb)

data/rao/12_node_network.uct

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
##C 2007.05.01
2+
##N
3+
##ZBE
4+
BBE1AA1 BE1 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
5+
BBE2AA1 BE2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
6+
BBE3AA1 BE3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
7+
##ZDE
8+
DDE1AA1 DE1 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
9+
DDE2AA1 DE2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
10+
DDE3AA1 DE3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
11+
##ZFR
12+
FFR1AA1 FR1 0 2 400.00 1000.00 0.00000 00000.0 0.00000 9000.00 -9000.0 9000.00 -9000.0
13+
FFR2AA1 FR2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
14+
FFR3AA1 FR3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
15+
##ZNL
16+
NNL1AA1 NL1 0 2 400.00 0000.00 0.00000 -1000.0 0.00000 9000.00 -9000.0 9000.00 -9000.0
17+
NNL2AA1 NL2 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
18+
NNL3AA1 NL3 0 2 400.00 0.00000 0.00000 0.00000 0.00000 9000.00 -9000.0 9000.00 -9000.0
19+
##L
20+
BBE1AA1 BBE2AA1 1 0 0.0000 10.000 0.000000 5000
21+
BBE1AA1 BBE3AA1 1 0 0.0000 10.000 0.000000 5000
22+
FFR1AA1 FFR2AA1 1 0 0.0000 10.000 0.000000 5000
23+
FFR1AA1 FFR3AA1 1 0 0.0000 10.000 0.000000 5000
24+
FFR2AA1 FFR3AA1 1 0 0.0000 10.000 0.000000 5000
25+
DDE1AA1 DDE2AA1 1 0 0.0000 10.000 0.000000 5000
26+
DDE1AA1 DDE3AA1 1 0 0.0000 10.000 0.000000 5000
27+
DDE2AA1 DDE3AA1 1 0 0.0000 10.000 0.000000 5000
28+
NNL1AA1 NNL2AA1 1 0 0.0000 10.000 0.000000 5000
29+
NNL1AA1 NNL3AA1 1 0 0.0000 10.000 0.000000 5000
30+
NNL2AA1 NNL3AA1 1 0 0.0000 10.000 0.000000 5000
31+
FFR2AA1 DDE3AA1 1 0 0.0000 10.000 0.000000 5000
32+
DDE2AA1 NNL3AA1 1 0 0.0000 10.000 0.000000 5000
33+
NNL2AA1 BBE3AA1 1 0 0.0000 10.000 0.000000 410
34+
NNL2AA1 BBE3AA1 2 8 0.0000 10.000 0.000000 410
35+
NNL2AA1 BBE3AA1 3 8 0.0000 10.000 0.000000 410
36+
BBE2AA1 FFR3AA1 1 0 0.0000 10.000 0.000000 5000
37+
##T
38+
BBE2AA1 BBE3AA1 1 0 400.0 400.0 1000. 0.0000 10.000 0.000000 0.0 5000 PST
39+
##R
40+
BBE2AA1 BBE3AA1 1 -0.68 90.00 16 0 SYMM

data/rao/N-1_case_crac_curative.json

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{
2+
"type" : "CRAC",
3+
"version" : "2.6",
4+
"info" : "Generated by PowSyBl OpenRAO https://powsybl.readthedocs.io/projects/openrao",
5+
"id" : "crac",
6+
"name" : "crac",
7+
"instants" : [ {
8+
"id" : "preventive",
9+
"kind" : "PREVENTIVE"
10+
}, {
11+
"id" : "outage",
12+
"kind" : "OUTAGE"
13+
}, {
14+
"id" : "curative",
15+
"kind" : "CURATIVE"
16+
} ],
17+
"ra-usage-limits-per-instant" : [ ],
18+
"networkElementsNamePerId" : { },
19+
"contingencies" : [ {
20+
"id" : "Contingency DE2 DE3",
21+
"networkElementsIds" : [ "DDE2AA1 DDE3AA1 1" ]
22+
} ],
23+
"flowCnecs" : [ {
24+
"id" : "NNL2AA1 BBE3AA1 1 - preventive",
25+
"name" : "NL2 BE3 1 - preventive",
26+
"networkElementId" : "NNL2AA1 BBE3AA1 1",
27+
"operator" : null,
28+
"border" : "",
29+
"instant" : "preventive",
30+
"optimized" : true,
31+
"monitored" : false,
32+
"reliabilityMargin" : 0.0,
33+
"iMax" : [ NaN ],
34+
"nominalV" : [ 400 ],
35+
"thresholds" : [ {
36+
"unit" : "megawatt",
37+
"min" : -410.0,
38+
"max" : 410.0,
39+
"side" : 1
40+
} ]
41+
}, {
42+
"id" : "NNL2AA1 BBE3AA1 1 - Contingency DE2 DE3 - outage",
43+
"name" : "NL2 BE3 1 - Contingency DE2 DE3 - outage",
44+
"networkElementId" : "NNL2AA1 BBE3AA1 1",
45+
"operator" : null,
46+
"instant" : "outage",
47+
"contingencyId" : "Contingency DE2 DE3",
48+
"optimized" : true,
49+
"monitored" : false,
50+
"iMax" : [ NaN ],
51+
"nominalV" : [ 400.0 ],
52+
"thresholds" : [ {
53+
"unit" : "megawatt",
54+
"min" : -450.0,
55+
"max" : 450.0,
56+
"side" : 1
57+
} ]
58+
}, {
59+
"id" : "BBE1AA1 BBE2AA1 1 - Contingency DE2 DE3 - curative",
60+
"name" : "BE1 BE2 1 - Contingency DE2 DE3 - curative",
61+
"networkElementId" : "BBE1AA1 BBE2AA1 1",
62+
"operator" : null,
63+
"instant" : "curative",
64+
"contingencyId" : "Contingency DE2 DE3",
65+
"optimized" : true,
66+
"monitored" : false,
67+
"iMax" : [ NaN ],
68+
"nominalV" : [ 400.0 ],
69+
"thresholds" : [ {
70+
"unit" : "megawatt",
71+
"min" : -300.0,
72+
"max" : 300.0,
73+
"side" : 1
74+
} ]
75+
} ],
76+
"angleCnecs" : [ ],
77+
"voltageCnecs" : [ ],
78+
"pstRangeActions" : [ {
79+
"id" : "pst-range-action",
80+
"name" : "pst-range-action",
81+
"operator" : null,
82+
"onInstantUsageRules" : [ {
83+
"instant" : "preventive",
84+
"usageMethod" : "available"
85+
}, {
86+
"instant" : "curative",
87+
"usageMethod" : "available"
88+
} ],
89+
"networkElementId" : "BBE2AA1 BBE3AA1 1",
90+
"initialTap" : 0,
91+
"tapToAngleConversionMap" : {
92+
"-1" : -0.3896097993971608,
93+
"0" : 0.0,
94+
"-2" : -0.7792105912934298,
95+
"1" : 0.3896097993971608,
96+
"-3" : -1.1687933694373345,
97+
"2" : 0.7792105912934298,
98+
"-4" : -1.5583491300758083,
99+
"3" : 1.1687933694373345,
100+
"-5" : -1.9478688732023104,
101+
"4" : 1.5583491300758083,
102+
"-6" : -2.337343603803646,
103+
"5" : 1.9478688732023104,
104+
"-7" : -2.7267643331050597,
105+
"6" : 2.337343603803646,
106+
"-8" : -3.1161220798131644,
107+
"7" : 2.7267643331050597,
108+
"-9" : -3.505407871356285,
109+
"8" : 3.1161220798131644,
110+
"-10" : -3.894612745121778,
111+
"9" : 3.505407871356285,
112+
"-11" : -4.283727749689918,
113+
"10" : 3.894612745121778,
114+
"-12" : -4.672743946063913,
115+
"11" : 4.283727749689918,
116+
"-13" : -5.061652408895631,
117+
"12" : 4.672743946063913,
118+
"-14" : -5.4504442277066305,
119+
"13" : 5.061652408895631,
120+
"-15" : -5.839110508104064,
121+
"14" : 5.4504442277066305,
122+
"-16" : -6.2276423729910535,
123+
"15" : 5.839110508104064,
124+
"16" : 6.2276423729910535
125+
},
126+
"ranges" : [ {
127+
"min" : -10,
128+
"max" : 10,
129+
"rangeType" : "absolute"
130+
} ]
131+
} ],
132+
"hvdcRangeActions" : [ ],
133+
"injectionRangeActions" : [ ],
134+
"counterTradeRangeActions" : [ ],
135+
"networkActions" : [ {
136+
"id" : "close NL2 BE3 2",
137+
"name" : "close NL2 BE3 2",
138+
"operator" : null,
139+
"onInstantUsageRules" : [ {
140+
"instant" : "preventive",
141+
"usageMethod" : "available"
142+
} ],
143+
"terminalsConnectionActions" : [ {
144+
"networkElementId" : "NNL2AA1 BBE3AA1 2",
145+
"actionType" : "close"
146+
} ]
147+
} ]
148+
}

data/rao/N-1_case_crac_outage.json

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
{
2+
"type" : "CRAC",
3+
"version" : "2.6",
4+
"info" : "Generated by PowSyBl OpenRAO https://powsybl.readthedocs.io/projects/openrao",
5+
"id" : "crac",
6+
"name" : "crac",
7+
"instants" : [ {
8+
"id" : "preventive",
9+
"kind" : "PREVENTIVE"
10+
}, {
11+
"id" : "outage",
12+
"kind" : "OUTAGE"
13+
}, {
14+
"id" : "curative",
15+
"kind" : "CURATIVE"
16+
} ],
17+
"ra-usage-limits-per-instant" : [ ],
18+
"networkElementsNamePerId" : { },
19+
"contingencies" : [ {
20+
"id" : "Contingency DE2 DE3",
21+
"networkElementsIds" : [ "DDE2AA1 DDE3AA1 1" ]
22+
} ],
23+
"flowCnecs" : [ {
24+
"id" : "NNL2AA1 BBE3AA1 1 - preventive",
25+
"name" : "NL2 BE3 1 - preventive",
26+
"networkElementId" : "NNL2AA1 BBE3AA1 1",
27+
"operator" : null,
28+
"border" : "",
29+
"instant" : "preventive",
30+
"optimized" : true,
31+
"monitored" : false,
32+
"reliabilityMargin" : 0.0,
33+
"iMax" : [ NaN ],
34+
"nominalV" : [ 400 ],
35+
"thresholds" : [ {
36+
"unit" : "megawatt",
37+
"min" : -410.0,
38+
"max" : 410.0,
39+
"side" : 1
40+
} ]
41+
}, {
42+
"id" : "NNL2AA1 BBE3AA1 1 - Contingency DE2 DE3 - outage",
43+
"name" : "NL2 BE3 1 - Contingency DE2 DE3 - outage",
44+
"networkElementId" : "NNL2AA1 BBE3AA1 1",
45+
"operator" : null,
46+
"instant" : "outage",
47+
"contingencyId" : "Contingency DE2 DE3",
48+
"optimized" : true,
49+
"monitored" : false,
50+
"iMax" : [ NaN ],
51+
"nominalV" : [ 400.0 ],
52+
"thresholds" : [ {
53+
"unit" : "megawatt",
54+
"min" : -450.0,
55+
"max" : 450.0,
56+
"side" : 1
57+
} ]
58+
} ],
59+
"angleCnecs" : [ ],
60+
"voltageCnecs" : [ ],
61+
"pstRangeActions" : [ {
62+
"id" : "pst-range-action",
63+
"name" : "pst-range-action",
64+
"operator" : null,
65+
"onInstantUsageRules" : [ {
66+
"instant" : "preventive",
67+
"usageMethod" : "available"
68+
} ],
69+
"networkElementId" : "BBE2AA1 BBE3AA1 1",
70+
"initialTap" : 0,
71+
"tapToAngleConversionMap" : {
72+
"-1" : -0.3896097993971608,
73+
"0" : 0.0,
74+
"-2" : -0.7792105912934298,
75+
"1" : 0.3896097993971608,
76+
"-3" : -1.1687933694373345,
77+
"2" : 0.7792105912934298,
78+
"-4" : -1.5583491300758083,
79+
"3" : 1.1687933694373345,
80+
"-5" : -1.9478688732023104,
81+
"4" : 1.5583491300758083,
82+
"-6" : -2.337343603803646,
83+
"5" : 1.9478688732023104,
84+
"-7" : -2.7267643331050597,
85+
"6" : 2.337343603803646,
86+
"-8" : -3.1161220798131644,
87+
"7" : 2.7267643331050597,
88+
"-9" : -3.505407871356285,
89+
"8" : 3.1161220798131644,
90+
"-10" : -3.894612745121778,
91+
"9" : 3.505407871356285,
92+
"-11" : -4.283727749689918,
93+
"10" : 3.894612745121778,
94+
"-12" : -4.672743946063913,
95+
"11" : 4.283727749689918,
96+
"-13" : -5.061652408895631,
97+
"12" : 4.672743946063913,
98+
"-14" : -5.4504442277066305,
99+
"13" : 5.061652408895631,
100+
"-15" : -5.839110508104064,
101+
"14" : 5.4504442277066305,
102+
"-16" : -6.2276423729910535,
103+
"15" : 5.839110508104064,
104+
"16" : 6.2276423729910535
105+
},
106+
"ranges" : [ {
107+
"min" : -10,
108+
"max" : 10,
109+
"rangeType" : "absolute"
110+
} ]
111+
} ],
112+
"hvdcRangeActions" : [ ],
113+
"injectionRangeActions" : [ ],
114+
"counterTradeRangeActions" : [ ],
115+
"networkActions" : [ {
116+
"id" : "close NL2 BE3 2",
117+
"name" : "close NL2 BE3 2",
118+
"operator" : null,
119+
"onInstantUsageRules" : [ {
120+
"instant" : "preventive",
121+
"usageMethod" : "available"
122+
} ],
123+
"terminalsConnectionActions" : [ {
124+
"networkElementId" : "NNL2AA1 BBE3AA1 2",
125+
"actionType" : "close"
126+
} ]
127+
} ]
128+
}

data/rao/N_case_crac.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"type" : "CRAC",
3+
"version" : "2.6",
4+
"info" : "Generated by PowSyBl OpenRAO https://powsybl.readthedocs.io/projects/openrao",
5+
"id" : "crac",
6+
"name" : "crac",
7+
"instants" : [ {
8+
"id" : "preventive",
9+
"kind" : "PREVENTIVE"
10+
}, {
11+
"id" : "outage",
12+
"kind" : "OUTAGE"
13+
}, {
14+
"id" : "curative",
15+
"kind" : "CURATIVE"
16+
} ],
17+
"ra-usage-limits-per-instant" : [ ],
18+
"networkElementsNamePerId" : { },
19+
"contingencies" : [ ],
20+
"flowCnecs" : [ {
21+
"id" : "NNL2AA1 BBE3AA1 1 - preventive",
22+
"name" : "NNL2AA1 BBE3AA1 1 - preventive",
23+
"networkElementId" : "NNL2AA1 BBE3AA1 1",
24+
"operator" : null,
25+
"border" : "",
26+
"instant" : "preventive",
27+
"optimized" : true,
28+
"monitored" : false,
29+
"reliabilityMargin" : 0.0,
30+
"iMax" : [ NaN ],
31+
"nominalV" : [ 400 ],
32+
"thresholds" : [ {
33+
"unit" : "megawatt",
34+
"min" : -410.0,
35+
"max" : 410.0,
36+
"side" : 1
37+
} ]
38+
} ],
39+
"angleCnecs" : [ ],
40+
"voltageCnecs" : [ ],
41+
"pstRangeActions" : [ ],
42+
"hvdcRangeActions" : [ ],
43+
"injectionRangeActions" : [ ],
44+
"counterTradeRangeActions" : [ ],
45+
"networkActions" : [ {
46+
"id" : "close NL2 BE3 2",
47+
"name" : "close NL2 BE3 2",
48+
"operator" : null,
49+
"onInstantUsageRules" : [ {
50+
"instant" : "preventive",
51+
"usageMethod" : "available"
52+
} ],
53+
"terminalsConnectionActions" : [ {
54+
"networkElementId" : "NNL2AA1 BBE3AA1 2",
55+
"actionType" : "close"
56+
} ]
57+
} ]
58+
}

0 commit comments

Comments
 (0)