summaryrefslogtreecommitdiff
path: root/3793/CH4/EX4.13/exp_4_13.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3793/CH4/EX4.13/exp_4_13.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3793/CH4/EX4.13/exp_4_13.sce')
-rw-r--r--3793/CH4/EX4.13/exp_4_13.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3793/CH4/EX4.13/exp_4_13.sce b/3793/CH4/EX4.13/exp_4_13.sce
new file mode 100644
index 000000000..c53ceaa77
--- /dev/null
+++ b/3793/CH4/EX4.13/exp_4_13.sce
@@ -0,0 +1,23 @@
+clear;
+clc;
+Vs=1.02;
+Vr=0.9;
+Z=.1;
+anglez=80;
+Cs=(Vs^2)/Z*exp(complex(0,80));
+Cr=-(Vr^2)/Z*exp(complex(0,80));
+radius=Vs*Vr/Z;
+Pms=((Vs^2)/Z*cosd(anglez))+(Vs*Vr/Z);
+dels=180-anglez;
+Pmr=-(((Vr^2)/Z*cosd(anglez))-(Vs*Vr/Z));
+Ps=((Vs^2)/Z*cosd(anglez))-(Vs*Vr/Z*cosd(anglez+15));
+Pr=-(((Vr^2)/Z*cosd(anglez))-(Vs*Vr/Z*cosd(anglez-15)));
+loss=Ps-Pr;
+mprintf("Sending end maximum power is %.3f pu\n",Pms);
+mprintf("Receiving end maximum power is %.3f pu\n",Pmr);
+mprintf("Sending end maximum power angle is %.3f pu\n",dels);
+mprintf("Receiving end maximum power angle is %.3f pu\n",anglez);
+mprintf("Line loss is %.3f pu\n",loss);
+
+
+