Skip to content

Commit

Permalink
restore test
Browse files Browse the repository at this point in the history
  • Loading branch information
alihamdan committed Dec 2, 2024
1 parent 17f06d0 commit 3efcdbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roseau/load_flow_single/models/tests/test_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ def test_res_violated():


def test_lines_results():
z_line = 0.1 + 0.1j / 2
z_line = (0.1 + 0.1j) / 2
y_shunt = None
len_line = 10
bus1_voltage = 20000.0 + 0.0j
bus2_voltage = 19792.440962293495 - 89.99999999954984j
line_currents = (116.65202272479438 - 6.364487135590757j), (-116.65202272479438 + 6.364487135590757j)
bus2_voltage = 19883.965550324414 - 84.999999999981j
line_currents = (116.06729363657514 - 17.9177478743607j), (-116.06729363657514 + 17.9177478743607j)
bus1 = Bus(id="bus1")
bus2 = Bus(id="bus2")
y_shunt = np.array(y_shunt, dtype=np.complex128) if y_shunt is not None else None
Expand Down

0 comments on commit 3efcdbf

Please sign in to comment.