Skip to content

Commit 97a55a9

Browse files
committed
fix typos
Signed-off-by: Martijn Govers <[email protected]>
1 parent a1c585a commit 97a55a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/power_grid_model_io/converters/pandapower_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ def _pp_trafos_output_3ph(self): # pylint: disable=too-many-statements
20172017
# Only derating factor used here. Sn is already being multiplied by parallel
20182018
loading_multiplier = pp_input_transformers["df"] * 1e2
20192019
if self.trafo_loading == "current":
2020-
# since "i_from" and "i_to" are (n, 3) arrays while "u1" and "u2" are (n,) arrays, valueError is generated during broadcost
2020+
# since "i_from" and "i_to" are (n, 3) arrays while "u1" and "u2" are (n,) arrays, ValueError is generated during broadcast
20212021
ui_from = pgm_output_transformers["i_from"] * np.tile(pgm_input_transformers["u1"][:, None], (1, 3))
20222022
ui_to = pgm_output_transformers["i_to"] * np.tile(pgm_input_transformers["u2"][:, None], (1, 3))
20232023
# for phase wise loading, sn_ph = sn / 3, v_n = v / sqrt(3), so (i * u / sqrt(3)) / (sn / 3) --> sqrt(3) * i * u / sn

0 commit comments

Comments
 (0)