How to turn off all results in matpower?

14 views (last 30 days)
How to turn off all results in matpower power flow problem?

Accepted Answer

ayyappa rudrasimha yedida
mpoption('verbose',0,'out.all',0)

More Answers (2)

Meme Young
Meme Young on 28 Nov 2019
Dude ayyappa is right
But in Matpower 7.0 the ('out.all' ,0)option will be overridden when calling function runpf(),namely,the power flow function will change 'out.all' to 1 every time you run a powerflow case.The annotaion in Matpower7.0 manual regarding mpoption out.all and the source code of runpf() both confirmed this.
Of course you can modify the source code in matpower\lib\runpf.m but that is not recommended...

Natsawat Pompern
Natsawat Pompern on 15 Dec 2022
Example
data = case33bw;
opt = mpoption('VERBOSE',0, 'OUT_ALL',0);
results = runpf(data,opt);

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!