Compound Module Sim

File: networks/gilbert-elliot/Network.ned

(no description)

channelcontrol: ChannelControl host: Host

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

Contains the following modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

Host (no description)
Host (no description)
Host (no description)
Host (no description)
ChannelControl (unknown -- not in documented files)

Networks:

sim (no description)
sim (no description)
sim (no description)
sim (no description)

Parameters:

Name Type Description
playgroundSizeX numeric const

parametes for the framework

playgroundSizeY numeric const
numHosts numeric const

Unassigned submodule parameters:

Name Type Description
host[*].blackboard.coreDebug numeric const

debug switch for core framework

host[*].mobility.coreDebug numeric const

debug switch for the core framework

host[*].mobility.x numeric const

x coordinate of the nodes' position (-1 = random)

host[*].mobility.y numeric const

y coordinate of the nodes' position (-1 = random)

host[*].arp.debug bool
host[*].appl.debug bool

debug switch

host[*].appl.headerLength numeric const

length of the application message header (in bits)

host[*].appl.burstSize numeric const

size of the burst

host[*].net.debug numeric const

debug switch for the core framework

host[*].net.headerLength numeric const

length of the network packet header (in bits)

host[*].nic.mac.debug bool

debug switch

host[*].nic.mac.busyRSSI numeric const

level at which we consider medium busy

host[*].nic.mac.slotDuration numeric const

how long is a slot?

host[*].nic.mac.difs numeric const

maximum time between a packet and its ack

host[*].nic.mac.maxTxAttempts numeric const

maximum number of transmission attempts

host[*].nic.mac.headerLength numeric const

length of MAC header

host[*].nic.mac.queueLength numeric const

length of the MAC queue

host[*].nic.mac.defaultChannel numeric const

default channel

host[*].nic.mac.bitrate numeric const

bit rate

host[*].nic.mac.contentionWindow numeric const

contention window

host[*].nic.decider.debug bool

debug switch

host[*].nic.decider.snrThresholdLevel numeric
host[*].nic.snrEval.debug bool

debug switch

host[*].nic.snrEval.publishRSSIAlways bool

if false, the RSSI will not be published during the reception of a frame

host[*].nic.snrEval.transmitterPower numeric
host[*].nic.snrEval.headerLength numeric const
host[*].nic.snrEval.carrierFrequency numeric
host[*].nic.snrEval.thermalNoise numeric
host[*].nic.snrEval.pathLossAlpha numeric
host[*].nic.snrEval.sensitivity numeric
host[*].nic.radio.debug bool
host[*].nic.radio.swSleep numeric const

time parameters, how long does it take to switch to sleep mode

host[*].nic.radio.swSend numeric const

switch to send mode

host[*].nic.radio.swRecv numeric const

switch to recv mode

host[*].applType string

type of the application layer

host[*].blackboard.coreDebug numeric const

debug switch for core framework

host[*].mobility.coreDebug numeric const

debug switch for the core framework

host[*].mobility.x numeric const

x coordinate of the nodes' position (-1 = random)

host[*].mobility.y numeric const

y coordinate of the nodes' position (-1 = random)

host[*].arp.debug bool
host[*].appl.debug bool

debug switch

host[*].appl.headerLength numeric const

length of the application message header (in bits)

host[*].net.debug numeric const

debug switch for the core framework

host[*].net.headerLength numeric const

length of the network packet header (in bits)

host[*].nic.mac.debug bool

debug switch

host[*].nic.mac.headerLength numeric const

level at which we consider medium busy

host[*].nic.mac.queueLength numeric const

length of the MAC queue

host[*].nic.mac.bitrate numeric const

bit rate in bit/s

host[*].nic.mac.defaultChannel numeric const

default channel

host[*].nic.decider.debug bool

debug switch

host[*].nic.decider.snrThresholdLevel numeric
host[*].nic.snrEval.debug bool

debug switch

host[*].nic.snrEval.publishRSSIAlways bool

if false, the RSSI will not be published during the reception of a frame

host[*].nic.snrEval.transmitterPower numeric
host[*].nic.snrEval.headerLength numeric const
host[*].nic.snrEval.carrierFrequency numeric
host[*].nic.snrEval.thermalNoise numeric
host[*].nic.snrEval.pathLossAlpha numeric
host[*].nic.snrEval.sensitivity numeric
host[*].nic.radio.debug bool
host[*].nic.radio.swSleep numeric const

time parameters, how long does it take to switch to sleep mode

host[*].nic.radio.swSend numeric const

switch to send mode

host[*].nic.radio.swRecv numeric const

switch to recv mode

host[*].blackboard.coreDebug numeric const

debug switch for core framework

host[*].mobility.coreDebug bool

core debug switch

host[*].mobility.debug bool

debug switch

host[*].mobility.speed numeric const

spped of the host (in m/s)

host[*].mobility.updateInterval numeric const

time interval to update the hosts position

host[*].mobility.x numeric const

x starting point of the node (-1 = random)

host[*].mobility.y numeric const

y starting point of the node (-1 = random)

host[*].appl.debug bool

debug switch

host[*].appl.headerLength numeric const

length of the application message header (in bits)

host[*].appl.burstSize numeric const

size of the burst

host[*].arp.debug bool
host[*].net.debug numeric const

debug switch for the core framework

host[*].net.headerLength numeric const

length of the network packet header (in bits)

host[*].nic.mac.debug bool

debug switch

host[*].nic.mac.queueLength numeric const
host[*].nic.mac.rtsCtsThreshold numeric const
host[*].nic.mac.bitrate numeric const
host[*].nic.mac.defaultChannel numeric const

minimum channel support

host[*].nic.mac.autoBitrate bool

auto bit rate selection support: specify borders at which to change modulation.

host[*].nic.mac.snr2Mbit numeric const

threshold to use 2Mbit (in dB)

host[*].nic.mac.snr5Mbit numeric const

threshold to use 5.5Mbit (in dB)

host[*].nic.mac.snr11Mbit numeric const

threshold to use 11Mbit (in dB)

host[*].nic.mac.neighborhoodCacheSize numeric const

keep information on neighborhood

host[*].nic.mac.neighborhoodCacheMaxAge numeric const

consider information in cache outdate if older than

host[*].nic.decider.debug bool

debug switch

host[*].nic.decider.snirThreshold numeric const
host[*].nic.snrEval.debug bool

debug switch

host[*].nic.snrEval.headerLength numeric const

ignored

host[*].nic.snrEval.transmitterPower numeric const
host[*].nic.snrEval.carrierFrequency numeric const
host[*].nic.snrEval.thermalNoise numeric const
host[*].nic.snrEval.pathLossAlpha numeric const
host[*].nic.snrEval.publishRSSIAlways bool
host[*].nic.snrEval.sensitivity numeric const
host[*].nic.radio.debug bool
host[*].nic.radio.swSleep numeric const

time parameters, how long does it take to switch to sleep mode

host[*].nic.radio.swSend numeric const

switch to send mode

host[*].nic.radio.swRecv numeric const

switch to recv mode

host[*].blackboard.coreDebug numeric const

debug switch for core framework

host[*].mobility.coreDebug numeric const

debug switch for the core framework

host[*].mobility.x numeric const

x coordinate of the nodes' position (-1 = random)

host[*].mobility.y numeric const

y coordinate of the nodes' position (-1 = random)

host[*].arp.debug bool
host[*].appl.debug bool

debug switch

host[*].appl.headerLength numeric const

length of the application message header (in bits)

host[*].appl.burstSize numeric const

size of the burst

host[*].net.debug numeric const

debug switch for the core framework

host[*].net.headerLength numeric const

length of the network packet header (in bits)

host[*].nic.mac.debug bool

debug switch

host[*].nic.mac.busyRSSI numeric const

level at which we consider medium busy

host[*].nic.mac.slotDuration numeric const

how long is a slot?

host[*].nic.mac.difs numeric const

maximum time between a packet and its ack

host[*].nic.mac.maxTxAttempts numeric const

maximum number of transmission attempts

host[*].nic.mac.headerLength numeric const

length of MAC header

host[*].nic.mac.queueLength numeric const

length of the MAC queue

host[*].nic.mac.defaultChannel numeric const

default channel

host[*].nic.mac.bitrate numeric const

bit rate

host[*].nic.mac.contentionWindow numeric const

contention window

host[*].nic.decider.debug bool

debug switch

host[*].nic.decider.snrThresholdLevel numeric
host[*].nic.snrEval.debug bool

debug switch

host[*].nic.snrEval.transmitterPower numeric
host[*].nic.snrEval.headerLength numeric const
host[*].nic.snrEval.carrierFrequency numeric
host[*].nic.snrEval.thermalNoise numeric
host[*].nic.snrEval.pathLossAlpha numeric
host[*].nic.snrEval.sensitivity numeric
host[*].nic.snrEval.meanGood numeric
host[*].nic.snrEval.meanBad numeric
host[*].nic.radio.debug bool
host[*].nic.radio.swSleep numeric const

time parameters, how long does it take to switch to sleep mode

host[*].nic.radio.swSend numeric const

switch to send mode

host[*].nic.radio.swRecv numeric const

switch to recv mode

Source code:

module Sim
    parameters:
        // parametes for the framework
        playgroundSizeX : numeric const,
	playgroundSizeY : numeric const,
        numHosts : numeric const;
        

    submodules:
        channelcontrol: ChannelControl;
            parameters:
                playgroundSizeX = playgroundSizeX,
		playgroundSizeY = playgroundSizeY;
            display: "p=50,25;i=eye14";
        host: Host[numHosts];
            display: "p=50,50;i=laptop";

    connections nocheck:
    // all connections and gates are to be generated dynamically

    display: "p=0,0;b=$playgroundSizeX,$playgroundSizeY,rect;o=white";
endmodule