@@ -106,16 +106,16 @@ All the following tables are rounded to 2 decimals to be properly displayed.
106106>>> en.res_branches
107107```
108108
109- | branch_id | phase | type | current1 | current2 | power1 | power2 | potential1 | potential2 |
110- | :-------- | :---- | :--- | ----------------- : | --------------: | -----------------: | ----------------------: | --------------: | ----------------: |
111- | line1 | a | line | 374.19+65.47j | -374.2-65.22j) | 86414.44-15119.6j | -69427.92+23726.69j | 230.94-0j | 190.79-30.15j |
112- | line1 | b | line | -373.43-65.15j | 373.71+64.99j) | 56149.99+67164.05j | -39212.61-58608.72j | -115.47-200j | -75.38-169.94j |
113- | line1 | c | line | -0.88-0.32j | 0.61+0.24j) | 37.17-214.38j | -22.32+155.56j | -115.47+200j | -116.82+208.22j |
114- | line1 | n | line | 0.16-0.01j | -0.13-0j) | 0j | -0.17+1.03j | 0j | 1.38-8.15j |
115- | line2 | a | line | ** 374.2+65.22j** | -374.11-64.94j) | 69427.92-23726.69j | ** -15076.23+41188.79j** | 190.79-30.15j | ** 57.67-100.09j** |
116- | line2 | b | line | ** -373.71-64.99j** | 374.11+64.94j) | 39212.61+58608.72j | ** 15076.23-41188.79j** | -75.38-169.94j | ** 57.67-100.09j** |
117- | line2 | c | line | -0.61-0.24j | -0j | 22.32-155.56j | -0-0j | -116.82+208.22j | -119.55+224.61j |
118- | line2 | n | line | 0.13+0j | -0j | 0.17-1.03j | -0j | 1.38-8.15j | 4.18-24.45j |
109+ | branch_id | phase | type | current1 | current2 | power1 | power2 | potential1 | potential2 |
110+ | :-------- | :---- | :--- | -------------: | --- --------------: | -----------------: | ----------------------: | --------------: | ----------------: |
111+ | line1 | a | line | 374.19+65.47j | -374.2-65.22j | 86414.44-15119.6j | -69427.92+23726.69j | 230.94-0j | 190.79-30.15j |
112+ | line1 | b | line | -373.43-65.15j | 373.71+64.99j | 56149.99+67164.05j | -39212.61-58608.72j | -115.47-200j | -75.38-169.94j |
113+ | line1 | c | line | -0.88-0.32j | 0.61+0.24j | 37.17-214.38j | -22.32+155.56j | -115.47+200j | -116.82+208.22j |
114+ | line1 | n | line | 0.16-0.01j | -0.13-0j | 0j | -0.17+1.03j | 0j | 1.38-8.15j |
115+ | line2 | a | line | 374.2+65.22j | ** -374.11-64.94j** | 69427.92-23726.69j | ** -15076.23+41188.79j** | 190.79-30.15j | ** 57.67-100.09j** |
116+ | line2 | b | line | -373.71-64.99j | ** 374.11+64.94j** | 39212.61+58608.72j | ** 15076.23-41188.79j** | -75.38-169.94j | ** 57.67-100.09j** |
117+ | line2 | c | line | -0.61-0.24j | -0j | 22.32-155.56j | -0-0j | -116.82+208.22j | -119.55+224.61j |
118+ | line2 | n | line | 0.13+0j | -0j | 0.17-1.03j | -0j | 1.38-8.15j | 4.18-24.45j |
119119
120120Looking at the line results of the second bus of the line ` line2 ` , which is ` bus2 ` where we added the short-circuit,
121121one can notice that:
@@ -139,16 +139,16 @@ short-circuit then create a new one between phases "a", "b", and "c".
139139>>> en.res_branches
140140```
141141
142- | branch_id | phase | type | current1 | current2 | power1 | power2 | potential1 | potential2 |
143- | :-------- | :---- | :--- | --------------: | --------------: | -----------------: | ------------------: | -------------: | --------------: |
144- | line1 | a | line | 364.42-152.4j | -364.45+152.64j | 84159.75+35195.32j | -62323.26-24107.78j | 230.94-0j | 169.06-4.66j |
145- | line1 | b | line | -329.25-298.27j | 329.5+298.09j | 97671.94+31407.98j | -74421.29-19633.88j | -115.47-200j | -94.56-145.13j |
146- | line1 | c | line | -35.27+450.66j | 35.03-450.73j | 94203.88+44984.19j | -73584.22-31005.25j | -115.47+200j | -80.99+156.96j |
147- | line1 | n | line | 0.11-0.01j | -0.08-0.01j | 0j | -0.5+0.64j | 0j | 6.47-7.18j |
148- | line2 | a | line | 364.45-152.64j | -364.48+152.85j | 62323.26+24107.78j | 3461.67-1626.3j | 169.06-4.66j | ** -6.49+7.18j** |
149- | line2 | b | line | -329.5-298.09j | 329.7+297.94j | 74421.29+19633.88j | 1.41+4300.23j | -94.56-145.13j | ** -6.49+7.18j** |
150- | line2 | c | line | -35.03+450.73j | 34.78-450.79j | 73584.22+31005.25j | -3463.08-2673.93j | -80.99+156.96j | ** -6.49+7.18j** |
151- | line2 | n | line | 0.08+0.01j | -0j | 0.5-0.64j | -0j | 6.47-7.18j | 19.44-21.56j |
142+ | branch_id | phase | type | current1 | current2 | power1 | power2 | potential1 | potential2 |
143+ | :-------- | :---- | :--- | --------------: | ------------------ : | -----------------: | -- ------------------: | -------------: | --------------: |
144+ | line1 | a | line | 364.42-152.4j | -364.45+152.64j | 84159.75+35195.32j | -62323.26-24107.78j | 230.94-0j | 169.06-4.66j |
145+ | line1 | b | line | -329.25-298.27j | 329.5+298.09j | 97671.94+31407.98j | -74421.29-19633.88j | -115.47-200j | -94.56-145.13j |
146+ | line1 | c | line | -35.27+450.66j | 35.03-450.73j | 94203.88+44984.19j | -73584.22-31005.25j | -115.47+200j | -80.99+156.96j |
147+ | line1 | n | line | 0.11-0.01j | -0.08-0.01j | 0j | -0.5+0.64j | 0j | 6.47-7.18j |
148+ | line2 | a | line | 364.45-152.64j | ** -364.48+152.85j** | 62323.26+24107.78j | ** 3461.67-1626.3j** | 169.06-4.66j | ** -6.49+7.18j** |
149+ | line2 | b | line | -329.5-298.09j | ** 329.7+297.94j** | 74421.29+19633.88j | ** 1.41+4300.23j** | -94.56-145.13j | ** -6.49+7.18j** |
150+ | line2 | c | line | -35.03+450.73j | ** 34.78-450.79j** | 73584.22+31005.25j | ** -3463.08-2673.93j** | -80.99+156.96j | ** -6.49+7.18j** |
151+ | line2 | n | line | 0.08+0.01j | -0j | 0.5-0.64j | -0j | 6.47-7.18j | 19.44-21.56j |
152152
153153Now the potentials of the three phases are equal and the currents and powers add up to zero at the bus where the
154154short-circuit is applied.
@@ -173,10 +173,10 @@ between phase "a" and ground.
173173| line1 | b | line | 0.96-0.74j | -0.65+0.52j | 36.74-277.43j | -10.48+232.63j | -115.47-200j | -163.66-224.36j |
174174| line1 | c | line | -0.81-0.43j | 0.55+0.33j | 8.47-212.03j | -29.32+150.27j | -115.47+200j | -159.37+177.78j |
175175| line1 | n | line | 0.24-0.25j | -0.21+0.22j | 0j | 4.52+15.58j | 0j | -48.11-24.34j |
176- | line2 | a | line | 95.86-188.37j | -95.99+188.69j | 16871.5+29433.8j | - 0j | 160.32-7.98j | ** 0j** |
177- | line2 | b | line | 0.65-0.52j | 0j | 10.48-232.63j | -0- 0j | -163.66-224.36j | -265.1-275.72j |
178- | line2 | c | line | -0.55-0.33j | -0j | 29.32-150.27j | -0- 0j | -159.37+177.78j | -252.37+130.63j |
179- | line2 | n | line | 0.21-0.22j | -0j | -4.52-15.58j | -0- 0j | -48.11-24.34j | -149.45-75.72j |
176+ | line2 | a | line | 95.86-188.37j | -95.99+188.69j | 16871.5+29433.8j | 0j | 160.32-7.98j | ** 0j** |
177+ | line2 | b | line | 0.65-0.52j | ** 0j ** | 10.48-232.63j | 0j | -163.66-224.36j | -265.1-275.72j |
178+ | line2 | c | line | -0.55-0.33j | ** 0j ** | 29.32-150.27j | 0j | -159.37+177.78j | -252.37+130.63j |
179+ | line2 | n | line | 0.21-0.22j | ** 0j ** | -4.52-15.58j | 0j | -48.11-24.34j | -149.45-75.72j |
180180
181181``` pycon
182182>>> en.res_grounds
@@ -186,8 +186,8 @@ between phase "a" and ground.
186186| :-------- | --------: |
187187| gnd | 0+0j |
188188
189- Here the potential at phase "a" of bus ` b2 ` is zero, equal to the ground potential. The sum of the currents in the
190- other phases is also zero indicating that the current of phase "a" went through the ground.
189+ Here the potential at phase "a" of bus ` b2 ` is zero, equal to the ground potential. The currents in the
190+ other phases are also zero indicating that the current of phase "a" went through the ground.
191191
192192## Additional notes
193193
@@ -199,6 +199,7 @@ short-circuit, or when forgetting parameters.
199199... load = rlf.PowerLoad(" load" , bus = en.buses[" b2" ], powers = [10 , 10 , 10 ])
200200... except RoseauLoadFlowException as e:
201201... print (e)
202+ ...
202203The power load 'load' is connected on bus 'b2' that already has a short-circuit.
203204It makes the short-circuit calculation impossible. [bad_short_circuit]
204205```
@@ -208,6 +209,7 @@ It makes the short-circuit calculation impossible. [bad_short_circuit]
208209... en.buses[" b2" ].add_short_circuit(" a" )
209210... except RoseauLoadFlowException as e:
210211... print (e)
212+ ...
211213For the short-circuit on bus 'b2', expected at least two phases or a phase and a ground.
212214Only phase 'a' is given. [bad_phase]
213215```
0 commit comments