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 @@ -1744,7 +1744,7 @@ def _pp_buses_output_3ph(self):
17441744 pp_output_buses_3ph ["va_b_degree" ] = node_u_angle [:, 1 ] * (180.0 / np .pi )
17451745 pp_output_buses_3ph ["vm_c_pu" ] = node_u_pu [:, 2 ]
17461746 pp_output_buses_3ph ["va_c_degree" ] = node_u_angle [:, 2 ] * (180.0 / np .pi )
1747- pp_output_buses_3ph ["unbalance_percent" ] = np .abs (u_sequence [:, 0 ]) / np .abs (u_sequence [:, 1 ]) * 100
1747+ pp_output_buses_3ph ["unbalance_percent" ] = np .abs (u_sequence [:, 2 ]) / np .abs (u_sequence [:, 1 ]) * 100
17481748
17491749 # p_to, p_from, q_to and q_from connected to the bus have to be summed up
17501750 self ._pp_buses_output_3ph__accumulate_power (pp_output_buses_3ph )
@@ -1878,10 +1878,10 @@ def _pp_lines_output_3ph(self):
18781878 "i_b_to_ka" ,
18791879 "i_c_to_ka" ,
18801880 "i_n_to_ka" ,
1881- "loading_percent" ,
18821881 "loading_a_percent" ,
18831882 "loading_b_percent" ,
18841883 "loading_c_percent" ,
1884+ "loading_percent" ,
18851885 ],
18861886 index = self ._get_pp_ids ("line" , pgm_output_lines ["id" ]),
18871887 )
You can’t perform that action at this time.
0 commit comments