You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the network reduction by joining lines, the line 1338 with link below will throw an error if comp["bus"] in line 1334 is not a string, as it attempts to append an integer to a vector of strings.
Actually you are correct. I encountered this error when I used the join_line code (with necessary modifications) to reduce a network in PowerModels.jl rather than PMD.jl. So given that this code works with data_eng and all assets have the key "bus" as string, my original bug is not valid here. Thanks so much for the clarification and I am happy for the issue to be closed if you want to.
In the network reduction by joining lines, the line 1338 with link below will throw an error if comp["bus"] in line 1334 is not a string, as it attempts to append an integer to a vector of strings.
PowerModelsDistribution.jl/src/data_model/transformations.jl
Line 1338 in 7188b0f
PowerModelsDistribution.jl/src/data_model/transformations.jl
Line 1334 in 7188b0f
error:
I assume replacing the last argument in line 1334 with
[string(comp["bus"])]
would fix the problem.The text was updated successfully, but these errors were encountered: