" appeared. This is my code:
using PowerModel, Ipopt
network_data = PowerModels.parse_file(“case9bb.m”)
result=solve_opf(network_data, ACPPowerModel, Ipopt.Optimizer)
PowerModels.print_summary(result[“solution”])
The short answer to the error you are seeing here is that solve_opf does not support storage components. Most likely you want to use solve_mn_opf_strg that solves a multi-period OPF with storage components. There is not great documentation for this but the example repo should be a reasonable guide.
Focus your attention on comp-model.jl (not comp-phase.jl) unless you would like to model distribution systems. This example requires Guorbi to run, but even if you cannot run it, should provide a guide for how to use this feature.