How to turn off all results in matpower?

조회 수: 21 (최근 30일)
siva swami
siva swami 2016년 10월 7일
답변: Natsawat Pompern 2022년 12월 15일
How to turn off all results in matpower power flow problem?

채택된 답변

ayyappa rudrasimha yedida
ayyappa rudrasimha yedida 2016년 10월 7일
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