summaryrefslogtreecommitdiff
path: root/83/CH12/EX12.7/example_12_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '83/CH12/EX12.7/example_12_7.sce')
-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