www.pudn.com > matlabsimulink.rar > c8s2t.m, change:2010-07-03,size:1171b


%第八章第二节SVC仿真图绘制 
% %*********************************************** 
% %8-19 
% x=ScopeData1.time; 
% subplot(2,1,1); 
% plot(x,ScopeData1.signals(1,2).values(:,1)); 
% grid on; 
% axis([0 1 0.93 1.1]); 
% ylabel('Ui(p.u.)') 
%  
% subplot(2,1,2); 
% plot(x,ScopeData.signals(1,1).values); 
% grid on; 
% axis([0 1 -0.5 0.5]); 
% ylabel('Qc(p.u.)') 
% xlabel('t/s'); 
%*********************************************** 
%8-20 
x=ScopeData1.time; 
plot(x,ScopeData1.signals(1,2).values(:,1),'k--',x,ScopeData1.signals(1,2).values(:,2),'k-'); 
grid on; 
axis([0 1 0.93 1.1]); 
ylabel('Uj(p.u.)'); 
legend('SVC','SVC') 
 
 
 
% subplot(3,2,5); 
% plot(x,VI_abc_inv.signals(1,1).values(:,3)); 
% grid on; 
% axis([0.6 1.2 -2 2]); 
% ylabel('Vc') 
% xlabel('t/s'); 
%  
% subplot(3,2,2); 
% plot(x,VI_abc_inv.signals(1,2).values(:,1)); 
% grid on; 
% axis([0.6 1.2 -20 50]); 
% ylabel('Ia') 
%  
% subplot(3,2,4); 
% plot(x,VI_abc_inv.signals(1,2).values(:,2)); 
% grid on; 
% axis([0.6 1.2 -20 50]); 
% ylabel('Ib') 
%  
% subplot(3,2,6); 
% plot(x,VI_abc_inv.signals(1,2).values(:,3)); 
% grid on; 
% axis([0.6 1.2 -20 50]); 
% ylabel('Ic') 
xlabel('t/s'); 
t=1