summaryrefslogtreecommitdiff
path: root/147/CH18/EX18.5
diff options
context:
space:
mode:
Diffstat (limited to '147/CH18/EX18.5')
-rw-r--r--147/CH18/EX18.5/Example18_5.sce19
-rw-r--r--147/CH18/EX18.5/Result18_5.txt1
2 files changed, 20 insertions, 0 deletions
diff --git a/147/CH18/EX18.5/Example18_5.sce b/147/CH18/EX18.5/Example18_5.sce
new file mode 100644
index 000000000..76b3a7122
--- /dev/null
+++ b/147/CH18/EX18.5/Example18_5.sce
@@ -0,0 +1,19 @@
+close();
+clear;
+clc;
+//time taken 't' for 'rev' revolutions, non-inductive load 'I', voltage 'V' and frequency 'f' of single phase energy meter with constant 'k'
+k = 200; //rev/kWh
+t = 180; //seconds
+rev = 10;
+I = 4.4; //A
+V = 230; //V
+f = 50; //Hz
+//pf = cos(phi)
+pf = 1; //for non-inductive load
+//Energy consumed 'E'
+E = V*I*t*pf/(1000*3600); //kWh
+//Energy registered by meter 'Eg'
+Eg = rev/k; //kWh
+//percentage error 'per_error'
+per_error = (Eg-E)*100/E;
+mprintf("Percentage error of the instrument = %0.3f %%",per_error); \ No newline at end of file
diff --git a/147/CH18/EX18.5/Result18_5.txt b/147/CH18/EX18.5/Result18_5.txt
new file mode 100644
index 000000000..5d4a3d78a
--- /dev/null
+++ b/147/CH18/EX18.5/Result18_5.txt
@@ -0,0 +1 @@
+Percentage error of the instrument = -1.186 % \ No newline at end of file