File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/power_grid_model_io/converters Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1776,7 +1776,7 @@ def _pp_buses_output_3ph(self):
17761776 pp_output_buses_3ph ["va_b_degree" ] = node_u_angle [:, 1 ] * (180.0 / np .pi )
17771777 pp_output_buses_3ph ["vm_c_pu" ] = node_u_pu [:, 2 ]
17781778 pp_output_buses_3ph ["va_c_degree" ] = node_u_angle [:, 2 ] * (180.0 / np .pi )
1779- pp_output_buses_3ph ["unbalance_percent" ] = np .abs (u_sequence [:, 0 ]) / np .abs (u_sequence [:, 1 ]) * 100
1779+ pp_output_buses_3ph ["unbalance_percent" ] = np .abs (u_sequence [:, 2 ]) / np .abs (u_sequence [:, 1 ]) * 100
17801780
17811781 # p_to, p_from, q_to and q_from connected to the bus have to be summed up
17821782 self ._pp_buses_output_3ph__accumulate_power (pp_output_buses_3ph )
@@ -1911,10 +1911,10 @@ def _pp_lines_output_3ph(self):
19111911 "i_b_to_ka" ,
19121912 "i_c_to_ka" ,
19131913 "i_n_to_ka" ,
1914- "loading_percent" ,
19151914 "loading_a_percent" ,
19161915 "loading_b_percent" ,
19171916 "loading_c_percent" ,
1917+ "loading_percent" ,
19181918 ],
19191919 index = self ._get_pp_ids ("line" , pgm_output_lines ["id" ]),
19201920 )
You can’t perform that action at this time.
0 commit comments