lanl-ansi / PowerModelsAnalytics.jl

Tools for the analysis and visualization of PowerModels data and results
https://lanl-ansi.github.io/PowerModelsAnalytics.jl/stable/
Other
14 stars 3 forks source link

Plot_network function fails #5

Closed noahrhodes closed 5 years ago

noahrhodes commented 5 years ago

Plot network gives an error when attempting to plot. Can you replicate the issue?

It was working fine for me over the weekend, and I haven't been able to track the issue.

julia> plot_network(_PMs.parse_file("../cases/case24.m"))
ERROR: Cannot convert Float64 to series data for plotting

Project.toml contents [deps] PowerModels = "c36e90e8-916a-50a6-bd94-075b64ef4655" PowerModelsAnalytics = "7425d11c-6b70-11e9-2bc6-9bcd3191d4b9"

pseudocubic commented 5 years ago

I'm wasn't able to reproduce this error on the latest version (master / v0.1.0).

You might want to try both free PowerModelsAnalytics and ]rm PowerModelsAnalytics from your environment, then use ]gc to garbage collect old versions and then ]add PowerModelsAnalytics again. If you want to use the version compatible with PowerModels#v13-rc, you can use PowerModelsAnalytics#pms-v0.13

noahrhodes commented 5 years ago

Is the branch PowerModelsAnalytics#pms-v0.13 public?

pseudocubic commented 5 years ago

Apologies, I didn't push it to remote, its there now

pseudocubic commented 5 years ago

@noahrhodes was your issue resolved?

noahrhodes commented 5 years ago

I believe so.

I was able to make plot_network work in a new environment with the power models 0.13 branches, but I'm waiting for my pull request in PowerModelsResoration to be merged and rebased before closing this.

I want to be sure that it wasn't caused by a solution reporting issue.

noahrhodes commented 5 years ago

working on pms13 branch. Likely resolved by running garbage collect on old packages.