summaryrefslogtreecommitdiff
path: root/1092/CH2/EX2.3/Example2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1092/CH2/EX2.3/Example2_3.sce')
-rwxr-xr-x1092/CH2/EX2.3/Example2_3.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/1092/CH2/EX2.3/Example2_3.sce b/1092/CH2/EX2.3/Example2_3.sce
new file mode 100755
index 000000000..693e167e9
--- /dev/null
+++ b/1092/CH2/EX2.3/Example2_3.sce
@@ -0,0 +1,31 @@
+// Electric Machinery and Transformers
+// Irving L kosow
+// Prentice Hall of India
+// 2nd editiom
+
+// Chapter 2: Dynamo Construction and Windings
+// Example 2-3
+
+clear; clc; close; // Clear the work space and console.
+
+// Given data
+slots = 72; // No. of slots
+P = 4; // No. of poles
+coils_spanned = 14; // 14 slots are spanned while winding the coils
+
+// Calculations
+Pole_span = slots / P; // Pole span
+p_not = coils_spanned / Pole_span * 180; // Span of the coil in
+// electrical degrees
+funcprot(0) ; // Use to avoid this message "Warning : redefining function: beta "
+beta = (180 - p_not);
+k_p1 = cosd( beta / 2 ); // Pitch factor using eq(2-7)
+k_p2 = sind( p_not / 2 ); // Pitch factor using eq(2-8)
+
+// Display the results
+disp("Example 2-3 Solution : ")
+printf(" \n a: Full-pitch coil span = %d slots/pole ", Pole_span );
+printf(" \n b: p = %d degrees ", p_not );
+printf(" \n c: kp = %.2f \t\t eq(2-7)", k_p1 );
+printf(" \n d: kp = %.2f \t\t eq(2-8)", k_p2 );
+