summaryrefslogtreecommitdiff
path: root/3793/CH4/EX4.11/exp_4_11.sce
blob: 78b7ca2800b4dd735b724b05958a5e96ed235b1e (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
27
28
29
30
31
32
33
34
35
36
37
clear;
clc;
L=.35/(2*%pi*50);
C=4.2*10^(-6)/(2*%pi*50);
Zc=sqrt(L/C);
bet=2*%pi*50*sqrt(L*C);
disp(bet);
V=1;
X=1;
step=600/20;
x=600:-step:0;
y=(((cos(bet*x))+(%i*(sin(bet*x))/X)))*V;

plot(x,abs(y),'k');
set(gca(),"auto_clear","off");
X=.25;
y=(((cos(bet*x))+(%i*(sin(bet*x))/X)))*V;

plot(x,abs(y),'-k');

X=.5;
y=(((cos(bet*x))+(%i*(sin(bet*x))/X)))*V;

plot(x,abs(y),'k.');
X=1.25;
y=(((cos(bet*x))+(%i*(sin(bet*x))/X)))*V;

plot(x,abs(y),'k*');
X=1.5;
y=(((cos(bet*x))+(%i*(sin(bet*x))/X)))*V;

plot(x,abs(y),'kdiamond');

xlabel('Distance from receiving end in km' );
ylabel('Sending end voltage in pu');
title("Voltage profile of a three phase tramsmission line");
set(gca(),"auto_clear","on");