📄 hhu_newtonpf.m
字号:
function hhu_dcpf
disp(' ')
disp(' ')
disp(' ***已经选择牛顿法进行潮流法计算,请选择算例*** ')
disp(' ')
disp(' [1].IEEE --9 节点 ')
disp(' ----------------------- ')
disp(' [2].IEEE --14 节点 ')
disp(' ----------------------- ')
disp(' [3].IEEE --30 节点 ')
disp(' ----------------------- ')
disp(' [4].IEEE --39 节点 ')
disp(' ------------------------- ')
disp(' [5].IEEE --57 节点 ')
disp(' ----------------------- ')
disp(' [6].IEEE --118 节点 ')
disp(' ----------------------- ')
disp(' [7].IEEE --300 节点 ')
disp(' ------------------------- ')
disp(' [8].返回上级菜单 ')
disp(' ------------------------- ')
disp(' ')
mpopt = mpoption('PF_ALG', 1);
choice = input(' \输入您的选择 ([1---8]之间): ');
if isempty(choice)
disp(' ')
disp(' ')
disp(' **** 错误: 输入不能为空,请重新选择*** ');
hhu_newtonpf
end
switch choice
case 1
runpf('case9', mpopt);
case 2
runpf('case14', mpopt);
case 3
runpf('case30', mpopt);
case 4
runpf('case39', mpopt);
case 5
runpf('case57', mpopt);
case 6
runpf('case118', mpopt);
case 7
runpf('case300', mpopt);
case 8
hhu_runpf
otherwise
hhu_agains;
end
return
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -