www.pudn.com > matlabsimulink.rar > c8s4_1.m, change:2010-07-11,size:1796b


%第八章第三节TCSC仿真图绘制 
% %*********************************************** 
%8-36 have  not TCSC 
x=ScopeData1.time; 
subplot(3,1,1); 
plot(x,ScopeData1.signals.values); 
grid on; 
axis([0 1 -8000 8000]); 
ylabel('Ua(V)') 
 
subplot(3,1,2); 
plot(x,(ScopeData2.signals.values(:,1))/1000000); 
grid on; 
axis([0 1 -2 12]); 
ylabel('P(MW)') 
 
subplot(3,1,3); 
plot(x,(ScopeData2.signals.values(:,2))/1000000); 
grid on; 
axis([0 1 -2 12]); 
ylabel('Q(Mvar)') 
 
xlabel('t/s'); 
t=1 
% %8-36 have TCSC 
% x=VIabc_Prim1.time; 
% subplot(3,1,1); 
% plot(x,VIabc_Prim1.signals.values); 
% grid on; 
% axis([0 1 -8000 8000]); 
% ylabel('Ua(V)') 
%  
% subplot(3,1,2); 
% plot(x,(ScopeData1.signals.values(:,1))/1000000); 
% grid on; 
% axis([0 1 -2 12]); 
% ylabel('P(MW)') 
%  
% subplot(3,1,3); 
% plot(x,(ScopeData1.signals.values(:,2))/1000000); 
% grid on; 
% axis([0 1 -2 12]); 
% ylabel('Q(Mvar)') 
%  
% xlabel('t/s'); 
% t=1 
 
%*********************************************** 
% %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