## Manchester Simulation file for the One Simulator # By Matthew Orlinski - 2011 # GPLv3 license Scenario.name = connection_file_scenario Scenario.simulateConnections = true # Connection Mode Scenario.connectionsOnlyMode = true Scenario.connectionsFile = connections.txt # Setting this incorrectly may mean you miss connections in the file # I've only tested it for integers Scenario.updateInterval = 1 Scenario.endTime = 604800 Report.warmup = 1 Group.msgTtl = 60 Report.reportDir = [reports/Connection-test/1; reports/Connection-test/2; reports/Connection-test/3; reports/Connection-test/4; reports/Connection-test/5] ################################### ### common settings for all groups Group.router = EpidemicRouter # "Bluetooth" interface for all nodes btInterface.type = ConnectionsFromFileInterface # Transmit speed of 2 Mbps = 250kBps btInterface.transmitSpeed = 250k btInterface.transmitRange = 10 btInterface.scanInterval = 120 Group.bufferSize = 5M # transmit speed of 2 Mbps = 250kBps Group.transmitSpeed = 250k Group.nrofInterfaces = 1 Group.interface1 = btInterface # World's size for Movement Models without implicit size (width, height; meters) MovementModel.worldSize = 100, 100 Scenario.nrofHostGroups = 1 #################################################### # People movement Group1.groupID = A Group1.waitTime = 10, 30 Group1.speed = 0.8, 1.4 Group1.nrofHosts = 10 ## Message creation parameters # How many event generators Events.nrof = 1 # Class of the first event generator Events1.class = MessageEventGenerator # (following settings are specific for the MessageEventGenerator class) # Creation interval in seconds (one new message every 580 to 620 seconds ~ 6 texts per hour) # 0.3 - 2000 nodes, 28 days, 144 messages each a day Events1.interval = 3,4 # Message size SMS Events1.size = 1k # range of message source/destination addresses Events1.hosts = 0,9 # Message ID prefix Events1.prefix = M # seed for movement models' pseudo random number generator (default = 0) MovementModel.rngSeed = [2; 8372; 98092; 18293; 777] ## Reports - all report names have to be valid report classes # how many reports to load Report.nrofReports = 13 # Report classes to load Report.report1 = InterContactTimesReport Report.report2 = ContactTimesReport Report.report3 = UniqueEncountersReport Report.report4 = TotalEncountersReport Report.report5 = EncountersVSUniqueEncountersReport Report.report6 = ContactsDuringAnICTReport Report.report7 = MessageStatsReport Report.report8 = ContactsPerHourReport Report.report9 = AdjacencyGraphvizReport Report.report10 = ConnectivityDtnsim2Report Report.report11 = ConnectivityONEReport Report.report12 = MessageGraphvizReport Report.report13 = MessageLocationReport MessageLocationReport.granularity = 1 MessageLocationReport.messages = 1 ## GUI settings # GUI underlay image settings #GUI.UnderlayImage.fileName = data/helsinki_underlay.png # Image offset in pixels (x, y) GUI.UnderlayImage.offset = 64, 20 # Scaling factor for the image GUI.UnderlayImage.scale = 4.75 # Image rotation (radians) GUI.UnderlayImage.rotate = -0.015 # how many events to show in the log panel (default = 30) GUI.EventLogPanel.nrofEvents = 200 # Regular Expression log filter (see Pattern-class from the Java API for RE-matching details) #GUI.EventLogPanel.REfilter = .*p[1-9]<->p[1-9]$