How to turn off all results in matpower?

29 Ansichten (letzte 30 Tage)
siva swami
siva swami am 7 Okt. 2016
Beantwortet: Natsawat Pompern am 15 Dez. 2022
How to turn off all results in matpower power flow problem?

Akzeptierte Antwort

ayyappa rudrasimha yedida
ayyappa rudrasimha yedida am 7 Okt. 2016
mpoption('verbose',0,'out.all',0)

Weitere Antworten (2)

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

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by