summaryrefslogtreecommitdiff
path: root/1092/CH3/EX3.1/Example3_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1092/CH3/EX3.1/Example3_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1092/CH3/EX3.1/Example3_1.sce')
-rwxr-xr-x1092/CH3/EX3.1/Example3_1.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/1092/CH3/EX3.1/Example3_1.sce b/1092/CH3/EX3.1/Example3_1.sce
new file mode 100755
index 000000000..795126605
--- /dev/null
+++ b/1092/CH3/EX3.1/Example3_1.sce
@@ -0,0 +1,29 @@
+// Electric Machinery and Transformers
+// Irving L kosow
+// Prentice Hall of India
+// 2nd editiom
+
+// Chapter 3: DC Dynamo Voltage Relations - DC Generators
+// Example 3-1
+
+clear; clc; close; // Clear the work space and console.
+
+// Given data
+kW = 150; // Power rating of Shunt generator in kW
+V_1 = 250; // Voltage rating of Shunt generator in V
+V_a = V_1; // Voltage rating of Shunt generator in V
+R_f = 50; // Field resistance in ohm
+R_a = 0.05; // Armature resistance in ohm
+
+// Calculations
+I_1 = ( kW * 1000 ) / V_1; // Full-load line current flowing to the load in A
+I_f = V_1 / R_f; // Field current in A
+I_a = I_f + I_1; // Armature current in A
+E_g = V_a + I_a * R_a; // Full load generated voltage in V
+
+// Display the results
+disp("Example 3-1 Solution : ")
+printf("\n a: I1 = %d A ", I_1 );
+printf("\n b: If = %d A ", I_f );
+printf("\n c: Ia = %d A ", I_a );
+printf("\n d: Eg = %.2f A ", E_g );