summaryrefslogtreecommitdiff
path: root/509/CH15/EX15.1/15_1.sci
diff options
context:
space:
mode:
Diffstat (limited to '509/CH15/EX15.1/15_1.sci')
-rw-r--r--509/CH15/EX15.1/15_1.sci18
1 files changed, 18 insertions, 0 deletions
diff --git a/509/CH15/EX15.1/15_1.sci b/509/CH15/EX15.1/15_1.sci
new file mode 100644
index 000000000..b4020338a
--- /dev/null
+++ b/509/CH15/EX15.1/15_1.sci
@@ -0,0 +1,18 @@
+//Chapter 15 Example 1//
+clc
+clear
+//output voltage=vd,commutation angle=u//
+//ac output voltage=em//
+u=20;// in degrees//
+em=110*sqrt(2)/sqrt(3);
+vdo=3*sqrt(3)*em/%pi;
+//delay angle=a//
+a=30;//in degrees
+vd=vdo*(cosd(a)+cosd(a+u))/2;
+printf("\n DC Output voltage when delay angle is 30 degrees = %.2f kV\n",vd);
+a=90;
+vd=vdo*(cosd(a)+cosd(a+u))/2;
+printf("\n DC Output voltage when delay angle is 90 degrees = %.2f kV\n",vd);
+a=150;
+vd=vdo*(cosd(a)+cosd(a+u))/2;
+printf("\n DC Output voltage when delay angle is 150 degrees = %.2f kV\n",vd); \ No newline at end of file