Skip to content

Commit

Permalink
Adhere to Black
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Dec 19, 2023
1 parent 3196ef7 commit f8131da
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions tests/test_scripts/test_solph/test_lopf/test_lopf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,30 +52,30 @@ def test_lopf(solver="cbc"):
es.add(b_el0, b_el1, b_el2)

b_el1.inputs[b_el0] = exp_flow.ElectricalLine(
input=b_el0,
output=b_el1,
reactance=0.0001,
nominal_value=Investment(ep_costs=10),
min=-1,
max=1,
)
input=b_el0,
output=b_el1,
reactance=0.0001,
nominal_value=Investment(ep_costs=10),
min=-1,
max=1,
)

b_el2.inputs[b_el1] = exp_flow.ElectricalLine(
input=b_el1,
output=b_el2,
reactance=0.0001,
nominal_value=60,
min=-1,
max=1,
)
input=b_el1,
output=b_el2,
reactance=0.0001,
nominal_value=60,
min=-1,
max=1,
)

b_el0.inputs[b_el2] = exp_flow.ElectricalLine(
input=b_el2,
output=b_el0,
reactance=0.0001,
nominal_value=60,
min=-1,
max=1,
input=b_el2,
output=b_el0,
reactance=0.0001,
nominal_value=60,
min=-1,
max=1,
)

es.add(
Expand Down

0 comments on commit f8131da

Please sign in to comment.