Compound Module MobileNet

File: Examples/MobileAdhoc/Mobility/MobileNet.ned

(no description)

host: PlainMobilityHost channelcontrol: ChannelControl scenarioManager: ScenarioManager

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.

ChannelControl

ChannelControl has exactly one instance in every network model that contains mobile or wireless nodes. This module gets informed about the location and movement of nodes, and determines which nodes are within communication or interference distance. This info is then used by the radio interfaces of nodes at transmissions.

PlainMobilityHost

A host for demonstrating mobility models only -- it contains no protocol layers at all.

ScenarioManager

ScenarioManager is for setting up and controlling simulation experiments. You can schedule certain events to take place at specified times, like changing a parameter value, changing the bit error rate of a connection, removing or adding connections, removing or adding routes in a routing table, etc, so that you can observe the transient behaviour.

Networks:

mobileNet (no description)

Parameters:

Name Type Description
numHosts numeric const
playgroundSizeX numeric const
playgroundSizeY numeric const

Unassigned submodule parameters:

Name Type Description
host[*].mobilityType string
channelcontrol.coreDebug numeric const

debug switch for core framework

channelcontrol.pMax numeric const

maximum sending power used for this network (in mW)

channelcontrol.sat numeric const

signal attenuation threshold (in dBm)

channelcontrol.alpha numeric const

path loss coefficient

channelcontrol.carrierFrequency numeric const

carrier frequency of the channel (in Hz)

scenarioManager.script xml

Source code:

module MobileNet
    parameters:
        numHosts: numeric const,
        playgroundSizeX: numeric const,
        playgroundSizeY: numeric const;
    submodules:
        host: PlainMobilityHost[numHosts];
            display: "i=device/pocketpc_s;r=,,#707070";
        channelcontrol: ChannelControl;
            parameters:
                playgroundSizeX = playgroundSizeX,
                playgroundSizeY = playgroundSizeY;
            display: "p=60,50;i=misc/sun";
        scenarioManager: ScenarioManager;
            display: "p=150,50;i=block/control_s";
endmodule