summaryrefslogtreecommitdiff
path: root/83
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /83
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '83')
-rwxr-xr-x83/CH12/EX12.7/example_12_7.sce6
1 files changed, 3 insertions, 3 deletions
diff --git a/83/CH12/EX12.7/example_12_7.sce b/83/CH12/EX12.7/example_12_7.sce
index 197c580db..5e2663f9d 100755
--- a/83/CH12/EX12.7/example_12_7.sce
+++ b/83/CH12/EX12.7/example_12_7.sce
@@ -38,8 +38,8 @@ printf('Post fault operation(fault cleared by opening the faulted line):\n');
printf('X3=%0.1fPU\n',X3);
printf('Pe3=%0.1fsin(delta)\n',max(Pe3));
printf('Delta_cr=%0.4f rad =%0.2f deg',delta_cr,delta_cr*180/%pi);
-plot(delta,Pe1,delta,Pe3,delta,Pm);
+plot(delta,Pe1,delta,Pe3,delta,Pm*ones(1,length(delta)));
legend('Pe1=2.3sin(delta)','Pe3=1.5sin(delta)','Pm=1');
title('Power angle Diagram for example 12.7');
-xlabel('delta (in degrees)----->');
-ylabel('Electrical output (Pe)----->'); \ No newline at end of file
+xlabel('delta (in degrees)----->');
+ylabel('Electrical output (Pe)----->'); \ No newline at end of file