yuankl_zt 发表于 2010-4-8 13:59:45

PSAT中Command Line Usage的报错问题

yuankl_zt 发表于 2010-4-8 14:04:47

最近刚学PSAT,参考2.0的说明文件,2007年的。在Chapter 27 Command Line Usage中的例子:
% initialize PSAT
initpsat
% do not reload data file
clpsat.readfile = 0;
% set data file
runpsat(’d 006 mdl’,’data’)
% solve base case power flow
runpsat(’pf’)
voltages = DAE.V;
% increase base loading by 50%
for i = 1:10
PQ.store(:,) = (1+i/20)*;
PV.store(:,4) = (1+i/20)*;
runpsat(’pf’)
voltages = ;
end
% clear PSAT global variables
closepsat
disp(voltages)
按照上面程序写了个m文件,但是总是报错:
??? Reference to non-existent field 'V'.

Error in ==> psattest1 at 9
voltages = DAE.V;
请用过的前辈帮忙,非常感谢!
页: [1]
查看完整版本: PSAT中Command Line Usage的报错问题

招聘斑竹