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 --- 1938/CH6/EX6.27/6_27.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 1938/CH6/EX6.27/6_27.sce (limited to '1938/CH6/EX6.27/6_27.sce') diff --git a/1938/CH6/EX6.27/6_27.sce b/1938/CH6/EX6.27/6_27.sce new file mode 100755 index 000000000..c3d873593 --- /dev/null +++ b/1938/CH6/EX6.27/6_27.sce @@ -0,0 +1,23 @@ +clc,clear +printf('Example 6.27\n\n') + +kW=[800,500,1000,600] +cosphi=[1,0.9,0.8,0.9] +tanphi=tan(acos(cosphi)) +kVAR=kW.*tanphi + +kW_total=kW(1)+kW(2)+kW(3)+kW(4) +kVAR_total=kVAR(1)+kVAR(2)+kVAR(3)+-1*kVAR(4) //4th case is leading + +phi_c=atan(kVAR_total/kW_total) //total power factor angle +phi_1=acos(0.95)//pf of machine 1 +kW_1=1000 //active component of machine 1 +kVAR_1=kW_1*tan(phi_1) //reactive component of machine 1 +kW_2=kW_total - kW_1 //active component of machine 1 +kVAR_2=kVAR_total-kVAR_1 //reactive component of machine 2 + +phi_2=atan(kVAR_2/kW_2) +pf_2=cos(phi_2) //power factor of machine 2 + +printf('Output of second alternator= %.0f kW',kW_2) +printf('\npower factor of machine 2 = %.2f and lagging',pf_2) -- cgit