[General] network = Aloha #debug-on-errors = true #record-eventlog = true Aloha.numHosts = 20 Aloha.slotTime = 0 # no slots Aloha.txRate = 9.6kbps Aloha.host[*].pkLenBits = 952b #=119 bytes, so that (with +1 byte guard) slotTime is a nice round number **.x = uniform(0m, 1000m) **.y = uniform(0m, 1000m) **.animationHoldTimeOnCollision = 0s **.idleAnimationSpeed = 1 **.transmissionEdgeAnimationSpeed = 1e-6 **.midTransmissionAnimationSpeed = 1e-1 [Config PureAloha1] description = "pure Aloha, overloaded" # too frequent transmissions result in high collision rate and low channel utilization Aloha.host[*].iaTime = exponential(2s) [Config PureAloha2] description = "pure Aloha, optimal load" # near optimal load, channel utilization is near theoretical maximum 1/2e Aloha.host[*].iaTime = exponential(6s) [Config PureAloha3] description = "pure Aloha, low traffic" # very low traffic results in channel being idle most of the time Aloha.host[*].iaTime = exponential(30s) [Config PureAlohaExperiment] description = "Channel utilization in the function of packet generation frequency" repeat = 2 sim-time-limit = 90min #**.vector-recording = false Aloha.numHosts = ${numHosts=10,15,20} Aloha.host[*].iaTime = exponential(${iaMean=1,2,3,4,5..9 step 2}s) [Config SlottedAloha1] description = "slotted Aloha, overloaded" # slotTime = pkLen/txRate = 960/9600 = 0.1s Aloha.slotTime = 100ms # too frequent transmissions result in high collision rate and low channel utilization Aloha.host[*].iaTime = exponential(0.5s) [Config SlottedAloha2] description = "slotted Aloha, optimal load" # slotTime = pkLen/txRate = 960/9600 = 0.1s Aloha.slotTime = 100ms # near optimal load, channel utilization is near theoretical maximum 1/e Aloha.host[*].iaTime = exponential(2s) [Config SlottedAloha3] description = "slotted Aloha, low traffic" # slotTime = pkLen/txRate = 960/9600 = 0.1s Aloha.slotTime = 100ms # very low traffic results in channel being idle most of the time Aloha.host[*].iaTime = exponential(20s)