Skip to content

Commit

Permalink
Temp fix rel path -> abs for nesting issue. works with regular hostin…
Browse files Browse the repository at this point in the history
…g cap too
  • Loading branch information
jenny-nyx committed Nov 9, 2023
1 parent e55bff2 commit 3947dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omf/solvers/opendss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def hosting_capacity_all(FNAME:str, kwSTEPS:int, kwValue:float, BUS_LIST:list =
# print('GEN_BUSES', gen_buses)
for bus in gen_buses:
try:
single_output = hosting_capacity_single_bus(FNAME, kwSTEPS, kwValue, bus, DEFAULT_KV=DEFAULT_KV)
single_output = hosting_capacity_single_bus(fullpath, kwSTEPS, kwValue, bus, DEFAULT_KV=DEFAULT_KV)
all_output.append(single_output)
except:
print(f'Could not solve hosting capacity for BUS_NAME={bus}')
Expand Down

0 comments on commit 3947dfc

Please sign in to comment.