summaryrefslogtreecommitdiff
path: root/416/CH14/EX14.1/example14_1.sce
blob: 7bf3161ef0c19a1e2426a6a4f6c94e1b823b75f7 (plain)
1
2
3
4
5
6
7
8
9
10
clc
clear
disp('example 14.1')
p=100  //rating of alternater
sd=0.04 //speed of alrternator drops 
df=-0.1  //change in frequency and drops so -ve
f=50    //frequency is 50hz
r=sd*f/p  //r in hz/MW
dp=-(df)/r 
printf("speed regulation of alternator is %.2fHz/MW \n change in power output %dMW",r,dp)