www.pudn.com > matlabsimulink.rar > c8s1t.m, change:2010-06-28,size:4912b


%第八章第一节HVDC仿真图绘制 
%*********************************************** 
%8-7(a) 
% x= rect.time; 
% subplot(4,1,1); 
% plot(x,rect.signals(1,1).values); 
% grid on; 
% axis([0 2 -0.5 1.5]); 
% %ylabel('VDL(pu)'); 
% ylabel(rect.signals(1,1).label) 
%  
% subplot(4,1,2) 
% plot(x,rect.signals(1,2).values); 
% grid on; 
% axis([0 2 -0.5 1.5]); 
% ylabel(rect.signals(1,2).label) 
%  
% subplot(4,1,3) 
% plot(x,rect.signals(1,3).values); 
% grid on; 
% axis([0 2 0 200]); 
% ylabel(rect.signals(1,3).label) 
%  
% subplot(4,1,4) 
% plot(x,rect.signals(1,4).values); 
% grid on; 
% axis([0 2 -1 6]); 
% ylabel('Control Mode'); 
% xlabel('t/s'); 
%****************************************** 
%8-7(b) 
% x=inv.time; 
% subplot(5,1,1); 
% plot(x,inv.signals(1,1).values); 
% grid on; 
% axis([0 2 -0.5 1.5]); 
% %ylabel('VDL(pu)'); 
% ylabel(inv.signals(1,1).label) 
%  
% subplot(5,1,2) 
% plot(x,inv.signals(1,2).values); 
% grid on; 
% axis([0 2 -0.5 1.5]); 
% ylabel(inv.signals(1,2).label) 
%  
% subplot(5,1,3) 
% plot(x,inv.signals(1,3).values); 
% grid on; 
% axis([0 2 0 200]); 
% ylabel(inv.signals(1,3).label) 
%  
% subplot(5,1,4) 
% plot(x,inv.signals(1,4).values); 
% grid on; 
% axis([0 2 -1 6]); 
% ylabel('Control Mode'); 
%  
% subplot(5,1,5) 
% plot(x,inv.signals(1,5).values); 
% grid on; 
% axis([0 2 0 200]); 
% ylabel('gamma'); 
% xlabel('t/s'); 
%******************************************* 
% %8-8(a) 
% x= rect.time; 
% subplot(4,1,1); 
% plot(x,rect.signals(1,1).values); 
% grid on; 
% axis([0.6 1.4 -0.5 1.5]); 
% %ylabel('VDL(pu)'); 
% ylabel(rect.signals(1,1).label) 
%  
% subplot(4,1,2) 
% plot(x,rect.signals(1,2).values); 
% grid on; 
% axis([0.6 1.4 -0.5 3]); 
% ylabel(rect.signals(1,2).label) 
%  
% subplot(4,1,3) 
% plot(x,rect.signals(1,3).values); 
% grid on; 
% axis([0.6 1.4 0 200]); 
% ylabel(rect.signals(1,3).label) 
%  
% subplot(4,1,4) 
% plot(x,rect.signals(1,4).values); 
% grid on; 
% axis([0.6 1.4 -1 6]); 
% ylabel('Control Mode'); 
% xlabel('t/s'); 
%************************************* 
% %8-8(b) 
% x=inv.time; 
% subplot(4,1,1); 
% plot(x,inv.signals(1,1).values); 
% grid on; 
% axis([0.6 1.4 -2 2]); 
% %ylabel('VDL(pu)'); 
% ylabel(inv.signals(1,1).label) 
%  
% subplot(4,1,2) 
% plot(x,inv.signals(1,2).values); 
% grid on; 
% axis([0.6 1.4 -0.5 1.5]); 
% ylabel(inv.signals(1,2).label) 
%  
% subplot(4,1,3) 
% plot(x,inv.signals(1,3).values); 
% grid on; 
% axis([0.6 1.4 80 200]); 
% ylabel(inv.signals(1,3).label) 
%  
% % subplot(5,1,4) 
% % plot(x,inv.signals(1,4).values); 
% % grid on; 
% % axis([0 2 -1 6]); 
% % ylabel('Control Mode'); 
% %  
% % subplot(5,1,5) 
% % plot(x,inv.signals(1,5).values); 
% % grid on; 
% % axis([0 2 0 200]); 
% % ylabel('gamma'); 
%  
% subplot(4,1,4) 
% plot(x,ScopeData.signals(1,2).values); 
% grid on; 
% axis([0.6 1.4  -1000 8000]); 
% ylabel(ScopeData.signals(1,2).label); 
% xlabel('t/s'); 
%******************************************* 
% %8-9(a) 
% x= rect.time; 
% subplot(4,1,1); 
% plot(x,rect.signals(1,1).values); 
% grid on; 
% axis([0.6 1.4 -0.5 1.5]); 
% %ylabel('VDL(pu)'); 
% ylabel(rect.signals(1,1).label) 
%  
% subplot(4,1,2) 
% plot(x,rect.signals(1,2).values); 
% grid on; 
% axis([0.6 1.4 -0.5 3]); 
% ylabel(rect.signals(1,2).label) 
%  
% subplot(4,1,3) 
% plot(x,rect.signals(1,3).values); 
% grid on; 
% axis([0.6 1.4 0 200]); 
% ylabel(rect.signals(1,3).label) 
%  
% subplot(4,1,4) 
% plot(x,rect.signals(1,4).values); 
% grid on; 
% axis([0.6 1.4 -1 6]); 
% ylabel('Control Mode'); 
% xlabel('t/s'); 
%************************************* 
% %8-9(b) 
% x=inv.time; 
% subplot(4,1,1); 
% plot(x,inv.signals(1,1).values); 
% grid on; 
% axis([0.6 1.4 -1 2]); 
% ylabel(inv.signals(1,1).label) 
%  
% subplot(4,1,2) 
% plot(x,inv.signals(1,2).values); 
% grid on; 
% axis([0.6 1.4 -0.5 3]); 
% ylabel(inv.signals(1,2).label) 
%  
% subplot(4,1,3) 
% plot(x,inv.signals(1,3).values); 
% grid on; 
% axis([0.6 1.4 100 200]); 
% ylabel(inv.signals(1,3).label) 
%  
% subplot(4,1,4) 
% plot(x,inv.signals(1,5).values); 
% grid on; 
% axis([0.6 1.4  0 100]); 
% ylabel('gamma'); 
% xlabel('t/s'); 
%******************************** 
% %8-9(b) 
x=VI_abc_inv.time; 
subplot(3,2,1); 
plot(x,VI_abc_inv.signals(1,1).values(:,1)); 
grid on; 
axis([0.6 1.2 -2 2]); 
ylabel('Va') 
 
subplot(3,2,3); 
plot(x,VI_abc_inv.signals(1,1).values(:,2)); 
grid on; 
axis([0.6 1.2 -2 2]); 
ylabel('Vb') 
 
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