summaryrefslogtreecommitdiff
path: root/3446/CH17/EX17.2/Ex17_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH17/EX17.2/Ex17_2.sce')
-rw-r--r--3446/CH17/EX17.2/Ex17_2.sce40
1 files changed, 40 insertions, 0 deletions
diff --git a/3446/CH17/EX17.2/Ex17_2.sce b/3446/CH17/EX17.2/Ex17_2.sce
new file mode 100644
index 000000000..955658810
--- /dev/null
+++ b/3446/CH17/EX17.2/Ex17_2.sce
@@ -0,0 +1,40 @@
+// Exa 17.2
+// To calculate voice and data traffic per cell.
+
+clc;
+clear all;
+
+usage=150; //subscriber usage per month in mins
+days=24;//Days in a month
+BHrs=6;//Busy hours per day
+BW=4.8; //in MHz
+RFch=200; //in kHz
+Psubscribers=50000;//present subscriber count
+growth=0.05;//subscriber growth per year
+rollover=4;//network roll over period
+NPCS=5;//Number of packet calls per session
+NPP=25;//Number of packets within a packet call
+Tr=120;//Reading time between packet calls(sec)
+NBP=480*8;//Packet size(in bits)
+Tint=0.01;//Time interval between two packets(sec)
+Ttot=3000;//Total packet service holding time
+BH_PS=0.15;//Busy hour packet sessions per subscriber
+Penetration=0.25;
+datarate=48; //in kbps
+PTT=10;//Packet transmission time(sec)
+BTS=40;//NO of BTS sites
+
+//solution
+Bitstx_duringPTT=NPCS*NPP*NBP/1000;
+PST=PTT+Tr*(NPCS-1)+Tint*(NPP-1);
+PT_duringBH=BH_PS*Ttot/PST;
+Bits_persub_persec=Bitstx_duringPTT*PT_duringBH/(60*60);
+VoiceErlangs=usage/(days*BHrs*60);
+Initial_subscribers=round(Psubscribers*(1+growth)^rollover);
+Data_subscribers=Initial_subscribers*Penetration;
+Totalvoice=Initial_subscribers*VoiceErlangs;
+Voicetraffic_perBTS=Totalvoice/BTS;
+printf('Voice Traffic per Cell(sector) is %.2f Erlangs \n ',Voicetraffic_perBTS/3);
+Totaldata=Data_subscribers*Bits_persub_persec;
+Datathroughput_perBTS=Totaldata/BTS;
+printf("Data throughput per Cell(sector) is %.2f kbps \n ',Datathroughput_perBTS/3);