Skip to content

Commit

Permalink
FIX: subproblem results in parallel version exported as json files is…
Browse files Browse the repository at this point in the history
…ntead of text file.
  • Loading branch information
juanjospina committed Aug 1, 2024
1 parent a881c18 commit 5743b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/multiprocessing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function optimize_subproblem_multiprocessing(
# TODO: Find a way to transform distribution systems solution from MATH to ENG and PU to SI before output.

result_json = JSON.json(result)
open("subproblem_$(i)-ckt_$(data["ckt_name"])-boundary_$(boundary_number).txt", "w") do file
open("subproblem_$(i)-ckt_$(data["ckt_name"])-boundary_$(boundary_number).json", "w") do file
write(file, result_json)
end

Expand Down

0 comments on commit 5743b10

Please sign in to comment.