I am not able to reproduce the error below. What version of MATPOWER are you 
using? (type mpver to find out)

   Ray


> On Jan 13, 2019, at 5:33 AM, Αμαλία Μαυρογιάννη <[email protected]> wrote:
> 
> Hello all,
> I have problem in my case with cost it says:
> Error in opf_setup (line 212)
>     cpg(ip1) = cpg(ip1) + pcost(ip1, COST) * baseMVA;
> 
> Error in opf (line 225)
> om = opf_setup(mpc, mpopt);
> 
> Error in runopf (line 75)
> [r, success] = opf(casedata, mpopt);
> 
> Error in Solve_run_uopf_opf (line 37)
> ropf = runopf(mpc, mpopt)
> 
> If you run my M-file Solve_run_uopf_opf.m you will see the exact problem.  
> Please help.
> 
> Many regards.
> Amalia Mavrogianni
> <my_case.m><Solve_run_uopf_opf.m>

Reply via email to