summaryrefslogtreecommitdiff
path: root/3888/CH16/EX16.2/Ex16_2.sce
blob: af204cfe421fd590959aa0888e030aacdb2cae66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//Electric Power Generation, Transmission and Distribution by S.N.Singh
//Publisher:PHI Learning Private Limited
//Year: 2012 ; Edition - 2 
//Example 16.2
//Scilab Version : 6.0.0    ; OS : Windows

clc;
clear;


Em=400;                                  //Ac supply voltage in kV
Vd=500;                                  //Dc supply voltage in kV
Id=1;                                    //Dc current in A
alpha=20;                                //Firing angle in degree
Vdo=3*sqrt(3*2)*Em/(%pi*sqrt(3));        //Direct output voltage in kV
Rc=-(Vd-(Vdo*cosd(alpha))/Id);           //Effective Commutation resistance in Ohm


printf("\nThe effective commutation resistance is %.2f Ohm",Rc);