summaryrefslogtreecommitdiff
path: root/509/CH15/EX15.1/15_1.sci
blob: b4020338a3e458586aadece00d0ec2d31b615f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);