Skip to content

Commit 087a32c

Browse files
mgoversCopilot
andauthored
Update src/power_grid_model_io/converters/pandapower_converter.py
Signed-off-by: Martijn Govers <[email protected]> Co-authored-by: Copilot <[email protected]> Signed-off-by: Martijn Govers <[email protected]>
1 parent fe83bf2 commit 087a32c

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
@@ -2042,7 +2042,7 @@ def _pp_trafos_output_3ph(self): # pylint: disable=too-many-statements
20422042
else:
20432043
raise ValueError(f"Invalid transformer loading type: {str(self.trafo_loading)}")
20442044

2045-
# PGM returns the average loading over the cable, but PandaPower returns the maximum of the per-phase loading.
2045+
# PGM returns the average loading over the transformer, but PandaPower returns the maximum of the per-phase loading.
20462046
# To make it consistent with PandaPower, overall loading will be calculated as max of above 3.
20472047
loading = np.maximum(np.maximum(loading_a_percent, loading_b_percent), loading_c_percent)
20482048

0 commit comments

Comments
 (0)