summaryrefslogtreecommitdiff
path: root/3745/CH1/EX1.70/Ex1_70.sce
diff options
context:
space:
mode:
Diffstat (limited to '3745/CH1/EX1.70/Ex1_70.sce')
-rw-r--r--3745/CH1/EX1.70/Ex1_70.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3745/CH1/EX1.70/Ex1_70.sce b/3745/CH1/EX1.70/Ex1_70.sce
new file mode 100644
index 000000000..8b47b7da3
--- /dev/null
+++ b/3745/CH1/EX1.70/Ex1_70.sce
@@ -0,0 +1,24 @@
+// Ex 70 Page 410
+
+clc;clear;close;
+// Given
+VRY=300*expm(%i*0);//V
+VYB=300*expm(%i*-90*%pi/180);//V
+VBR=300*expm(%i*90*%pi/180);//V
+
+
+ZA=10*expm(%i*60*%pi/180);//ohm
+ZB=10*expm(%i*0*%pi/180);//ohm
+ZC=10*expm(%i*60*%pi/180);//ohm
+
+//Phase current
+IRY=VRY/ZA;//A
+IYB=VYB/ZB;//A
+IBR=VBR/ZC;//A
+
+IR=IRY-IBR;//A
+PVA=conj(VRY)*IR;//W
+printf("W1 reading=%.f W",real(PVA))
+IB=IBR-IYB;//A
+PVB=conj(-VYB)*IB;//W
+printf("\n W2 reading=%.f W or %.f kW",real(PVB),real(PVB)/1000)