Unformatted text preview: % q-axis current i IT= % Terminal current referred to inf. bus ET= % Terminal voltage referred to inf. bus (Ra outside) Et= % Terminal voltage magnitude Pe= % Electrical power output P % Now write differential equations xdot(1)=ws/(2*H)*(Pm-Pe-KD*wd/ws); % Acceleration xdot(2)=wd; % Speed deviation xdot(3)=1/Td0p*(Efd-Eqp-(Xd-Xdp)*id); % Eqp derivative xdot=xdot'; x return;...
View Full Document
This note was uploaded on 07/14/2011 for the course ECE 522 taught by Professor Tomsovic during the Summer '10 term at University of Florida.
- Summer '10
- Electrical Engineering