diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3434/CH8/EX8.4/Ex8_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3434/CH8/EX8.4/Ex8_4.sce')
-rw-r--r-- | 3434/CH8/EX8.4/Ex8_4.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/3434/CH8/EX8.4/Ex8_4.sce b/3434/CH8/EX8.4/Ex8_4.sce new file mode 100644 index 000000000..6d83dff1e --- /dev/null +++ b/3434/CH8/EX8.4/Ex8_4.sce @@ -0,0 +1,29 @@ +clc
+// given data
+drymattrprd=2 // dry matter produced in kg/day/cow
+gasyield=0.22 // biogas yield in m^3 /kg
+drymttr=18/100.0 // dry matter in cowdung
+rho=1090 // slurry density in kg/m^3
+effibrnr=0.6 // burner efficiency
+Heat=23.0 // heating value of biogas in MJ/m^3
+
+dungprd=drymattrprd*2/0.18 // dung produce in kg/day by 2 cows
+slurry=2*dungprd // slurry produce in kg/day
+volslurry=slurry/rho // volume of slurry in m^3
+totalslurry=30*volslurry // for 30 days slurry in m^3
+digestersize=totalslurry/0.85 // in m^3
+printf("the volume of digester is %.2f m^3",digestersize)
+
+gasprd=drymattrprd*2*gasyield // gas produced in m^3/day
+
+Energytherm=gasprd*Heat*effibrnr // total thermal energy available in MJ/day
+
+
+thermalpower=Energytherm*1000000/(24*60*60) // in watts
+
+printf (" \n total thermal power is %.2f W",thermalpower)
+
+
+
+
+
|