From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3784/CH3/EX3.2/Ex3_2.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 3784/CH3/EX3.2/Ex3_2.sce (limited to '3784/CH3/EX3.2') diff --git a/3784/CH3/EX3.2/Ex3_2.sce b/3784/CH3/EX3.2/Ex3_2.sce new file mode 100644 index 000000000..496b84a37 --- /dev/null +++ b/3784/CH3/EX3.2/Ex3_2.sce @@ -0,0 +1,21 @@ +clc +// Variable Initiallization +Vm=220 //armature voltage in volts +f=50 //frequency in Hz +Ra=10 //armature resistance in ohm +Lr=50e-3 //circulating inductance in mH +a1=30 +a2=150 + +//solution +w=2*%pi*f +Em=sqrt(2)*220 //voltage in volts +cosa1=cosd(a1) +cosa2=cosd(a2) +Irmax1=((2*Em)/(w*Lr))*(1-cosa1) +Irmax2=((2*Em)/(w*Lr))*(1-cosa2) +Ip=(Em/Ra) +I1=Ip+Irmax1 +I2=Ip+Irmax2 +printf('\n\n Peak Current of Converter 1=%0.1f Amp\n\n',I1) +printf('\n\n Peak Current of Converter 2=%0.1f Amp\n\n',I2) -- cgit