⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m4stp.m

📁 Gives all the matlab codes for dynamic simulation of electric machinery by Chee-Mun Ong
💻 M
字号:
% M-file for the last part of Project 4 on linearized 
%  analysis in Chapter 6
% m4stp.m sets up the system parameters for a simulation
% using the SIMULINK file s4stp  
% to obtain a simulated response of
% the motor speed to a unit disturbance in Vqse  

% load machine parameters for simulation  

p20hp % use 20 hp three-phase motor parameters

% specify initial value variables

Psiqso = Vm;
Psipqro = Vm;
Psidso = 0;
Psipdro = 0;
wrbywbo = 1;

% Transfer to keyboard for simulation
disp('Using M4STP.M to set up')
disp('Run simulation and type ''return'' for the plot')
keyboard
clf;
plot(y(:,1),y(:,2))
title('Response to one volt step')
xlabel('time in sec')
ylabel('pu speed wr/wb')
axis square  % for square plot 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -