Hello, I’m attempting to add flexibility/battery to several nodes in the Matpower IEEE9 bus case file. With this method “% hours
mpc.time_elapsed = 1.0
%% storage data
% storage_bus ps qs energy energy_rating charge_rating discharge_rating charge_efficiency discharge_efficiency thermal_rating qmin qmax r x p_loss p_loss status
mpc.storage = [
5 0.0 0.0 20.0 100.0 50.0 70.0 0.8 0.9 100.0 -50.0 70.0 0.1 0.0 0.0 0.0 1;
7 0.0 0.0 30.0 100.0 50.0 70.0 0.9 0.8 100.0 -50.0 70.0 0.1 0.0 0.0 0.0 1;
];”, I introduced storage.
As a result, whenever I attempted to execute the OPF of the case file, the error "
" 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”])

