ChannelControl

Package: simu5g.world.radio

simple module ChannelControl

Utility module that records the position of each radio module in the network. Exactly one instance of this module (or its derived extensions) must be present in the network. Note that channel parameters in this module are obsolete and are not utilized.

simu5g.world.radio.ChannelControlChannelControlsimple

Inheritance diagram

Known subclasses

Name

Type

Description

LteChannelControl

simple module

Utility module that records the position of each LTE radio module in the network. Exactly one instance of this module must be present in the network. Note that channel parameters in this module are obsolete and not utilized.

Parameters

Name

Type

Default value

Description

pMax

double

20mW

Maximum sending power used for this network (in mW)

sat

double

-110dBm

Signal attenuation threshold (in dBm)

alpha

double

2

Path loss coefficient

carrierFrequency

double

2.4GHz

Base carrier frequency of all the channels (in Hz)

numChannels

int

1

Number of radio channels (frequencies)

Properties

Name

Value

Description

display

i=misc/sun

labels

node

Source code

//
// Utility module that records the position of each radio module in the network.
// Exactly one instance of this module (or its derived extensions) must be present
// in the network. Note that channel parameters in this module are obsolete and
// are not utilized.
//
simple ChannelControl
{
    parameters:
        double pMax @unit("mW") = default(20mW); // Maximum sending power used for this network (in mW)
        double sat @unit("dBm") = default(-110dBm); // Signal attenuation threshold (in dBm)
        double alpha = default(2); // Path loss coefficient
        double carrierFrequency @unit("Hz") = default(2.4GHz); // Base carrier frequency of all the channels (in Hz)
        int numChannels = default(1); // Number of radio channels (frequencies)
        @display("i=misc/sun");
        @labels(node);
}

File: src/simu5g/world/radio/ChannelControl.ned