From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3888/CH3/EX3.6/Ex3_6.sce | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 3888/CH3/EX3.6/Ex3_6.sce (limited to '3888/CH3/EX3.6/Ex3_6.sce') diff --git a/3888/CH3/EX3.6/Ex3_6.sce b/3888/CH3/EX3.6/Ex3_6.sce new file mode 100644 index 000000000..b3d16b167 --- /dev/null +++ b/3888/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,27 @@ +//Electric Power Generation, Transmission and Distribution by S.N.Singh +//Publisher:PHI Learning Private Limited +//Year: 2012 ; Edition - 2 +//Example 3.6 +//Scilab Version : 6.0.0 ; OS : Windows + +clc; +clear; + +V=240; //Three phase supply voltage in Volts +Rl=20; //Load Resistance in Ohms +Vbase=240; //Three phase Base voltage in Volts +VAbase=10*10^3; //Base voltage in kVA +Vpu=V/Vbase; //Voltage in p.u. +Zbase=(Vbase^2/VAbase); //Base Impedance in Ohms +Zpu=Rl/Zbase; //Load Impedance in p.u. +Ibase=VAbase/((nthroot(3,2))*Vbase); //Base Current in Amps +Ipu=Vpu/Zpu; //Current drawn in p.u. +Ia=Ipu*Ibase; //Current drawn in Amps +P=Vpu*Ipu; //Power drawn in p.u. +Pt=(Ipu*VAbase)/1000; //Power drawn in kW + + +printf("\nCurrent drawn in amps %.2f A",Ia); +printf("\nPer unit value of current referred to the load side %.3f p.u",Ipu); +printf("\nPower drawn in kilo watts %.3f kW",Pt); +printf("\nPer unit value of Power referred to the load side %.3f p.u",P); -- cgit