-
Notifications
You must be signed in to change notification settings - Fork 13
/
input.config
executable file
·93 lines (82 loc) · 2.61 KB
/
input.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# input.config
# This is the input file to the simulation program.
# Please follow the given format just as shown below.
Protocol=myproto
Nodes=40
# Number of packets per node packet queue
PacketQueueSize=500
# Number of partitions to be made for a node's energy level
EnergyDivisions=20
# This value is in percentage. i.e., x percentage of maxEnergy
EnergyGapThreshold=20
# Duration for relaxation period
RelaxTime=1.0
# Format for 'Attributes'
# <Node ID> : <x,y> : <Max_transmission_radius(metres)> : <Bandwidth(kbps)> : <Initial_energy(Joule)> : <NodeType=[CH,ACH,NCH,BS]> : <Cluster number>
# BS = node(13)
Attributes=
0:80,280:260:256:1000:CH:0
1:190,95:260:256:1000:CH:1
2:280,180:260:256:1000:CH:2
3:360,55:260:256:1000:CH:3
4:150,420:260:256:1000:CH:4
5:320,325:260:256:1000:CH:5
6:530,120:260:256:1000:CH:6
7:525,260:260:256:1000:CH:7
8:515,425:260:256:1000:CH:8
9:720,210:260:256:1000:CH:9
10:740,335:260:256:1000:CH:10
11:850,170:260:256:1000:CH:11
12:360,455:260:256:1000:CH:12
13:885,310:1000:2048:999999:BS:-1
14:120,230:260:256:1000:ACH:0
15:140,130:260:256:1000:ACH:1
16:265,225:260:256:1000:ACH:2
17:355,95:260:256:1000:ACH:3
18:180,375:260:256:1000:ACH:4
19:335,370:260:256:1000:ACH:5
20:485,150:260:256:1000:ACH:6
21:470,255:260:256:1000:ACH:7
22:540,385:260:256:1000:ACH:8
23:705,175:260:256:1000:ACH:9
24:720,375:260:256:1000:ACH:10
25:825,205:260:256:1000:ACH:11
26:315,460:260:256:1000:ACH:12
27:50,275:260:256:1000:NCH:0
28:159,84:260:256:1000:NCH:1
29:280,155:260:256:1000:NCH:2
30:340,35:260:256:1000:NCH:3
31:118,432:260:256:1000:NCH:4
32:284,342:260:256:1000:NCH:5
33:542,89:260:256:1000:NCH:6
34:555,295:260:256:1000:NCH:7
35:535,485:260:256:1000:NCH:8
36:749,185:260:256:1000:NCH:9
37:770,380:260:256:1000:NCH:10
38:863,132:260:256:1000:NCH:11
39:386,511:260:256:1000:NCH:12
# Format for 'Events'
# <EventType> : <CauseOfEvent> : <AtTime>
# These are the significant events that are given by the user. These events internally generates there own events to perform their tasks.
# Example: 'SENSE_EVENT' event will generate internal events like- producing sensed data, forwarding it to CH, Data-aggregation by CH,
# CH forward data to its next hop, so on.
Events=
SENSE_EVENT:N27:1.0
SENSE_EVENT:N29:1.1
SENSE_EVENT:N29:1.15
SENSE_EVENT:N32:1.19
SENSE_EVENT:N34:1.199
# The above event means: The sensor node 27 has sensed an event and now has to send information to the BS via its CH.
SENSE_EVENT:N28:1.2
SENSE_EVENT:N30:2.0
SENSE_EVENT:N31:2.5
SENSE_EVENT:N35:2.7
SENSE_EVENT:N38:3.0
SENSE_EVENT:N29:3.4
SENSE_EVENT:N39:3.7
SENSE_EVENT:N27:4.0
SENSE_EVENT:N28:4.1
SENSE_EVENT:N29:4.5
SENSE_EVENT:N30:5.0
Tracefile=trace.tr
END