From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 416/CH15/EX15.6/exp15_6pp.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 416/CH15/EX15.6/exp15_6pp.sce (limited to '416/CH15/EX15.6/exp15_6pp.sce') diff --git a/416/CH15/EX15.6/exp15_6pp.sce b/416/CH15/EX15.6/exp15_6pp.sce new file mode 100755 index 000000000..91b8d064f --- /dev/null +++ b/416/CH15/EX15.6/exp15_6pp.sce @@ -0,0 +1,26 @@ +clc +clear +disp('example 15.6') +vo=100 //motor rated voltage +efm=0.4 //efficiency of motor pump +efi=0.85 //efficiency of inverter +h=50 //head of water +v=25 //volume of water per day +ov=18 //pv pannel output module +pr=40 //power rating +ao=2000 //annual output of array +dw=1000 //density of water +en=v*dw*h*9.81 //energy needed to pump water every day +enkw=en/(3.6*10^6) //energy in kilo watt hour +oe=efm*efi //overall efficiency +epv=round(enkw/oe) //energy out of pv system +de=ao/365 //daily energy output +pw=epv*10^3/de //peak wattage of pv array +rv=vo*(%pi)/sqrt(2) //rms voltage +nm=rv/ov //number of modules in series +nm=ceil(nm) +rpp=nm*pr //rated peak power output +np=pw/rpp //number of strings in parallel +np=round(np) +printf(" energy needed o pump water every day %fkWh/day \n overall efficiency %.2f \n energy output of pv system %dkWh/day ",enkw,oe,epv) +printf("\n annual energy out of array %dWh/Wp \ndaily energy output of array %.3fWh/Wp \n peak wattage of pv array %.2fWp \n rms output voltage %.2fV\nnumber of modules in series %d \n rated peak power output of each string %.2fW \n number of strings in parallel %d",epv,de,pw,rv,nm,rpp,np) -- cgit