# HW7 - H=5; % Inertia constant KD=0.00; % Damping constant...

This preview shows pages 1–2. Sign up to view the full content.

function HW7(); clear all; % % Homework Assignment 7 % % Investigation of the critical clearing time for the % system in problem 16.7 in Grainger text % % Simulations using % 1) A classical model % 2) A flux decay model but no voltage control % 3) A flux decay model with exciter voltage control but no stabilizer (KSTAB at 0) % 3) A flux decay model with exciter and stabilizer controls % Global parameters needed for simulation (simpler than passing values) tol=1e-3; % Error tolerance for integration routine global Ra Xdp Xd Xq Td0p Efd H KD Pm ... % Machine parameters ws EB XE RE XTq XTd D Pemax . .. % Network parameters T1 T2 Efdmin Efdmax KA KSTAB TA TW Vref; % Exciter and PSS parameters % Operational parameters for generator (in p.u. except where noted) Ra=0.003; % Armature resistance Xd=1.81; % d-axis synchronous reactance Xq=1.76; % q-axis synchronous reactance Xdp=0.2; % Xd' d-axis transient reactance Td0p=8.0; % Open circuit d-axis transient time constant % Mechanical constants

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: H=5; % Inertia constant KD=0.00; % Damping constant (mechanical damping) Pm=0.8; % Mechanical power input % Network parameters (pre-fault) Pload=Pm; % Neglecting armature resistance EB=1.0; % Infinite bus voltage XE=0.35; % Transmission line equivalent reactance RE =Ra; % Transmission line equivalent impedance (armature resistance lumped in) XTq = XE+Xq; % Equivalent series q-axis reactance - Intermediary variable XTd = XE+Xdp; % Equivalent series d-axis reactance - Intermediary variable D = RE^2 + XTq*XTd; % Intermediary variable % Excitation system KA = 200; % Exciter gain TA = 0.02; % Voltage transducer time constant Et =1.075; % Terminal reference voltage Efdmax = 5; % Field voltage limits Efdmin = -5; % Power system stabilizer (PSS) KSTAB = 0; % Stabilizer gain TW = 1.4; % Washout filter time constant T1 = 0.154; % Time constants for lead compensator T2 = 0.033; % your code 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.

### Page1 / 2

HW7 - H=5; % Inertia constant KD=0.00; % Damping constant...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online