Hi i cab boy find problem . unless negligible syntax! [image: image.png] On Fri, Jan 18, 2019 at 12:17 AM Αμαλία Μαυρογιάννη <[email protected]> wrote:
> Yes, you are right, this is the version. > The whole message is: > Error using + > Matrix dimensions must agree. > > 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 38) > ropf = runopf(mpc, mpopt) > > I think the problem is that only one generator is active. > > Thanks for your respond. > Amalia Mavrogianni. > > Στις Πέμ, 17 Ιαν 2019, 22:26 ο χρήστης Ray Zimmerman <[email protected]> > έγραψε: > >> MATPOWER 7.1 does not exist. I assume you mean 7.0b1, right? >> >> Btw, I think you included the details of *where* the error occurs, but >> not *what* the error message is. It might give us a clue. >> >> Ray >> >> >> On Jan 17, 2019, at 2:10 PM, Αμαλία Μαυρογιάννη <[email protected]> >> wrote: >> >> Thanks for your respond, >> >> I use Matpower 7.1. >> >> Many regards. >> Amalia Mavrogianni >> >> Στις Πέμ, 17 Ιαν 2019, 22:04 ο χρήστης Ray Zimmerman <[email protected]> >> έγραψε: >> >>> 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> >>> >>> >>> >>
Solve_run_uopf_opf.m
Description: Binary data
my_case.m
Description: Binary data
