summaryrefslogtreecommitdiff
path: root/3434/CH6/EX6.4/Ex6_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3434/CH6/EX6.4/Ex6_4.sce')
-rw-r--r--3434/CH6/EX6.4/Ex6_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3434/CH6/EX6.4/Ex6_4.sce b/3434/CH6/EX6.4/Ex6_4.sce
new file mode 100644
index 000000000..6d0c226ac
--- /dev/null
+++ b/3434/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,12 @@
+clc
+clear
+// given:
+noMPPTpower=10*8 // power without MPPT in W from fig 6.25
+MaxP=25*5 // maximum power by PV module in W from fig 6.25
+effi=0.95 // efficiency of MPPT
+MPPTcost=4000 // Cost in rupees
+// Soln
+Pact=MaxP*effi // actual power produced in W
+Psurplus=Pact-noMPPTpower // Surplus power in W
+t=MPPTcost/(3*Psurplus/1000) // time required in hours
+printf("time required is %.1f hours",t)