Re: [EXTERNAL] TSPOPF PDIPM AC solver not a valid value

2022-06-30 Thread João Marcelo Amaral
Hi Ray. I don't know why but I'm receiving your emails responding to
others' questions.

Please delete me from the list.

Thank you very much, best regards.

Em qui., 30 de jun. de 2022 às 16:15, Ray Daniel Zimmerman 
escreveu:

> Sorry for the delay in responding …
>
> When you type mpver, does it show PDIPM as being installed? If not, be
> sure to include the TSPOPF directory in your Matlab path.
>
> Ray
>
>
> On Jun 22, 2022, at 10:25 AM, Rachael I. Seidel 
> wrote:
>
> I reinstalled matpower and TSPOPF and now am getting the errors:
> >> runopf(mpd,mpopt)
> Unrecognized field name "pdipm".
>
> Error in opf_setup (line 349)
> if (strcmp(alg, 'PDIPM') && mpopt.pdipm.step_control) || strcmp(alg,
> 'TRALM')
>
> Error in opf (line 225)
> om = opf_setup(mpc, mpopt);
>
> Error in runopf (line 75)
> [r, success] = opf(casedata, mpopt);
>
>
> Which I don’t know how to interpret.
>
> Thanks,
> Ivy
>
>
> *From:* bounce-126635453-91654...@list.cornell.edu <
> bounce-126635453-91654...@list.cornell.edu> *On Behalf Of *Ray Daniel
> Zimmerman
> *Sent:* Tuesday, June 21, 2022 3:33 PM
> *To:* MATPOWER-L 
> *Subject:* [EXTERNAL] Re: TSPOPF PDIPM AC solver not a valid value
>
> That error message is very strange. Are you sure you are using straight,
> single-quotes around the string arguments to mpoption? Like this ...
>
> mpopt = mpoption('opf.ac.solver','PDIPM')
>
> If so, I’d try reinstalling MATPOWER and TSPOPF and trying again.
>
> Ray
>
>
>
> On Jun 21, 2022, at 4:22 PM, Rachael I. Seidel 
> wrote:
>
> Hi All,
>
> I downloaded the TSPOPF package for MATPOWER about a week ago and I’ve
> been having trouble getting it to solve even example cases. I configure by
> doing “mpd = loadcase(case118)” , “mpopt =
> mpoption(‘opf.ac.solver’,’PDIPM’)”, and run with “runopf(mpd,mpopt)” which
> always gives me the error “tspopf_solver.m: ‘MP0OPT.OPF.AC.SOLVER’ is not a
> valid value for MPOPT.opf.ac.solver” (among others).
>
> The same method works for similar packages such as BPMPD. My suspicion is
> that there is some sort of issue with tspopf ‘s installation but I’m unsure
> what the issue could be.
>
> Here is the entire list of errors:
> >> runopf(mpd,mpopt)
>
> MATPOWER Version 7.1, 08-Oct-2020 -- AC Optimal Power Flow
>   AC OPF formulation: polar voltages, power balance eqns
> Error using tspopf_solver (line 256)
> tspopf_solver.m: 'MP0OPT.OPF.AC.SOLVER' is not a valid value for
> MPOPT.opf.ac.solver
>
> Error in opf_execute (line 100)
> [results, success, raw] = tspopf_solver(om, mpopt);
>
> Error in opf (line 232)
> [results, success, raw] = opf_execute(om, mpopt);
>
> Error in runopf (line 75)
> [r, success] = opf(casedata, mpopt);
>
>
>
> Any advice would be appreciated.
>
> Thanks,
> Ivy Seidel
>
>
>


RE: [EXTERNAL] TSPOPF PDIPM AC solver not a valid value

2022-06-30 Thread Rachael I. Seidel
I actually got it figured out, I had matpower in my path twice (among other 
things).

Thanks for your help, It’s working great now.
Ivy Seidel

From: bounce-126651147-91654...@list.cornell.edu 
 On Behalf Of Ray Daniel Zimmerman
Sent: Thursday, June 30, 2022 1:16 PM
To: MATPOWER-L 
Subject: Re: [EXTERNAL] TSPOPF PDIPM AC solver not a valid value

Sorry for the delay in responding …

When you type mpver, does it show PDIPM as being installed? If not, be sure to 
include the TSPOPF directory in your Matlab path.

Ray



On Jun 22, 2022, at 10:25 AM, Rachael I. Seidel 
mailto:rachael.sei...@inl.gov>> wrote:

I reinstalled matpower and TSPOPF and now am getting the errors:
>> runopf(mpd,mpopt)
Unrecognized field name "pdipm".

Error in opf_setup (line 349)
if (strcmp(alg, 'PDIPM') && mpopt.pdipm.step_control) || strcmp(alg, 'TRALM')

Error in opf (line 225)
om = opf_setup(mpc, mpopt);

Error in runopf (line 75)
[r, success] = opf(casedata, mpopt);


Which I don’t know how to interpret.

Thanks,
Ivy


From: 
bounce-126635453-91654...@list.cornell.edu
 
mailto:bounce-126635453-91654...@list.cornell.edu>>
 On Behalf Of Ray Daniel Zimmerman
Sent: Tuesday, June 21, 2022 3:33 PM
To: MATPOWER-L mailto:matpowe...@list.cornell.edu>>
Subject: [EXTERNAL] Re: TSPOPF PDIPM AC solver not a valid value

That error message is very strange. Are you sure you are using straight, 
single-quotes around the string arguments to mpoption? Like this ...

mpopt = mpoption('opf.ac.solver','PDIPM')

If so, I’d try reinstalling MATPOWER and TSPOPF and trying again.

Ray




On Jun 21, 2022, at 4:22 PM, Rachael I. Seidel 
mailto:rachael.sei...@inl.gov>> wrote:

Hi All,

I downloaded the TSPOPF package for MATPOWER about a week ago and I’ve been 
having trouble getting it to solve even example cases. I configure by doing 
“mpd = loadcase(case118)” , “mpopt = mpoption(‘opf.ac.solver’,’PDIPM’)”, and 
run with “runopf(mpd,mpopt)” which always gives me the error “tspopf_solver.m: 
‘MP0OPT.OPF.AC.SOLVER’ is not a valid value for MPOPT.opf.ac.solver” (among 
others).

The same method works for similar packages such as BPMPD. My suspicion is that 
there is some sort of issue with tspopf ‘s installation but I’m unsure what the 
issue could be.

Here is the entire list of errors:
>> runopf(mpd,mpopt)

MATPOWER Version 7.1, 08-Oct-2020 -- AC Optimal Power Flow
  AC OPF formulation: polar voltages, power balance eqns
Error using tspopf_solver (line 256)
tspopf_solver.m: 'MP0OPT.OPF.AC.SOLVER' is not a valid value for 
MPOPT.opf.ac.solver

Error in opf_execute (line 100)
[results, success, raw] = tspopf_solver(om, mpopt);

Error in opf (line 232)
[results, success, raw] = opf_execute(om, mpopt);

Error in runopf (line 75)
[r, success] = opf(casedata, mpopt);



Any advice would be appreciated.

Thanks,
Ivy Seidel




Re: [EXTERNAL] TSPOPF PDIPM AC solver not a valid value

2022-06-30 Thread Ray Daniel Zimmerman
Sorry for the delay in responding …

When you type mpver, does it show PDIPM as being installed? If not, be sure to 
include the TSPOPF directory in your Matlab path.

Ray


On Jun 22, 2022, at 10:25 AM, Rachael I. Seidel 
mailto:rachael.sei...@inl.gov>> wrote:

I reinstalled matpower and TSPOPF and now am getting the errors:
>> runopf(mpd,mpopt)
Unrecognized field name "pdipm".

Error in opf_setup (line 349)
if (strcmp(alg, 'PDIPM') && mpopt.pdipm.step_control) || strcmp(alg, 'TRALM')

Error in opf (line 225)
om = opf_setup(mpc, mpopt);

Error in runopf (line 75)
[r, success] = opf(casedata, mpopt);


Which I don’t know how to interpret.

Thanks,
Ivy


From: 
bounce-126635453-91654...@list.cornell.edu
 
mailto:bounce-126635453-91654...@list.cornell.edu>>
 On Behalf Of Ray Daniel Zimmerman
Sent: Tuesday, June 21, 2022 3:33 PM
To: MATPOWER-L mailto:matpowe...@list.cornell.edu>>
Subject: [EXTERNAL] Re: TSPOPF PDIPM AC solver not a valid value

That error message is very strange. Are you sure you are using straight, 
single-quotes around the string arguments to mpoption? Like this ...

mpopt = mpoption('opf.ac.solver','PDIPM')

If so, I’d try reinstalling MATPOWER and TSPOPF and trying again.

Ray



On Jun 21, 2022, at 4:22 PM, Rachael I. Seidel 
mailto:rachael.sei...@inl.gov>> wrote:

Hi All,

I downloaded the TSPOPF package for MATPOWER about a week ago and I’ve been 
having trouble getting it to solve even example cases. I configure by doing 
“mpd = loadcase(case118)” , “mpopt = mpoption(‘opf.ac.solver’,’PDIPM’)”, and 
run with “runopf(mpd,mpopt)” which always gives me the error “tspopf_solver.m: 
‘MP0OPT.OPF.AC.SOLVER’ is not a valid value for MPOPT.opf.ac.solver” (among 
others).

The same method works for similar packages such as BPMPD. My suspicion is that 
there is some sort of issue with tspopf ‘s installation but I’m unsure what the 
issue could be.

Here is the entire list of errors:
>> runopf(mpd,mpopt)

MATPOWER Version 7.1, 08-Oct-2020 -- AC Optimal Power Flow
  AC OPF formulation: polar voltages, power balance eqns
Error using tspopf_solver (line 256)
tspopf_solver.m: 'MP0OPT.OPF.AC.SOLVER' is not a valid value for 
MPOPT.opf.ac.solver

Error in opf_execute (line 100)
[results, success, raw] = tspopf_solver(om, mpopt);

Error in opf (line 232)
[results, success, raw] = opf_execute(om, mpopt);

Error in runopf (line 75)
[r, success] = opf(casedata, mpopt);



Any advice would be appreciated.

Thanks,
Ivy Seidel