How to turn off all results in matpower?

21 次查看(过去 30 天)
How to turn off all results in matpower power flow problem?

采纳的回答

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

更多回答(2 个)

Meme Young
Meme Young 2019-11-28
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 2022-12-15
Example
data = case33bw;
opt = mpoption('VERBOSE',0, 'OUT_ALL',0);
results = runpf(data,opt);

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by