Azzera filtri
Azzera filtri

How to turn off all results in matpower?

20 visualizzazioni (ultimi 30 giorni)
How to turn off all results in matpower power flow problem?

Risposta accettata

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

Più risposte (2)

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

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by