Commit 720b7f6a authored by admin-mpa's avatar admin-mpa
Browse files

Changed signs into current injection results calculation to have the...

Changed signs into current injection results calculation to have the generation with positive values and the load consumption with negative values
parent ab351e63
......@@ -122,7 +122,7 @@ class Results():
fr = fr + branch.current_pu
if node.topology_node.index == branch.topology_branch.end_node.index:
to = to + branch.current_pu
node.current_pu = to - fr
node.current_pu = fr - to
node.current = node.current_pu * node.topology_node.base_current
def calculateSinj(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment