diff --git a/roseau/load_flow_single/models/tests/test_lines.py b/roseau/load_flow_single/models/tests/test_lines.py index 1533c40..d940e56 100644 --- a/roseau/load_flow_single/models/tests/test_lines.py +++ b/roseau/load_flow_single/models/tests/test_lines.py @@ -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