From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 416/CH14/EX14.11/ans14_11.txt | 4 ++++ 416/CH14/EX14.11/example14_11.sce | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100755 416/CH14/EX14.11/ans14_11.txt create mode 100755 416/CH14/EX14.11/example14_11.sce (limited to '416/CH14/EX14.11') diff --git a/416/CH14/EX14.11/ans14_11.txt b/416/CH14/EX14.11/ans14_11.txt new file mode 100755 index 000000000..2158e82b3 --- /dev/null +++ b/416/CH14/EX14.11/ans14_11.txt @@ -0,0 +1,4 @@ + + example 14_11 +change in frequency is -0.01307Hz +change in power -0.003333 p.u.MW \ No newline at end of file diff --git a/416/CH14/EX14.11/example14_11.sce b/416/CH14/EX14.11/example14_11.sce new file mode 100755 index 000000000..d4f502fa8 --- /dev/null +++ b/416/CH14/EX14.11/example14_11.sce @@ -0,0 +1,21 @@ +clc +clear +disp('example 14_11') +pa=5000 //power of unit a +pb=10000 //power of unit b +r=2 //given speed regulation in p.uMW +d=0.01 //d in p.u.MW/Hz +dpa=0 //change in power in unit a +dpb=-100 //change in power in unit b +pbas=10000 //assume base as 10000 +ra=r*pbas/pa //speed regulation of the unit a +da=d*pa/pbas //da of unit b +rb=r*pbas/pb //speed regulation of unit b +db=d*pb/pbas //db of unit b +ba=da+(1/ra) //area frequency response of a +bb=db+(1/rb) //area frequency response of b +ma=dpa/pbas //change in power a in per unit in unit a +mb=dpb/pbas //change in power a in per unit in unit b +df=(ma+mb)/(ba+bb) //change in frequency +dpab=(ba*mb-bb*ma)/(ba+bb) //change in power between ab +printf("change in frequency is %.5fHz \nchange in power %.6f p.u.MW",df,dpab) -- cgit