Ieee80211StateBasedEpEnergyConsumer

Package: inet.physicallayer.wireless.ieee80211.packetlevel

Ieee80211StateBasedEpEnergyConsumer

simple module

This module provides a radio power consumer model for IEEE 802.11 radios. Default values are roughly based on CC3220 transceiver. The power consumption is determined by the radio mode, the transmitter state and the receiver state using constant parameters.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
StateBasedEpEnergyConsumer simple module

This module provides a radio power consumer model. The power consumption is determined by the radio mode, the transmitter state and the receiver state using constant parameters.

Parameters

Name Type Default value Description
energySourceModule string
offPowerConsumption double 0mW
sleepPowerConsumption double 0.05mW
switchingPowerConsumption double 100mW
receiverIdlePowerConsumption double 0.5W
receiverBusyPowerConsumption double 0.5W
receiverReceivingPowerConsumption double 1W
receiverReceivingPreamblePowerConsumption double receiverReceivingPowerConsumption
receiverReceivingHeaderPowerConsumption double receiverReceivingPowerConsumption
receiverReceivingDataPowerConsumption double receiverReceivingPowerConsumption
transmitterIdlePowerConsumption double 1W
transmitterTransmittingPowerConsumption double 2.5W
transmitterTransmittingPreamblePowerConsumption double transmitterTransmittingPowerConsumption
transmitterTransmittingHeaderPowerConsumption double transmitterTransmittingPowerConsumption
transmitterTransmittingDataPowerConsumption double transmitterTransmittingPowerConsumption

Properties

Name Value Description
display i=block/cogwheel
class StateBasedEpEnergyConsumer

Signals

Name Type Unit
powerConsumptionChanged double

Statistics

Name Title Source Record Unit Interpolation Mode
powerConsumption Power consumption powerConsumptionChanged vector W sample-hold

Source code

//
// This module provides a radio power consumer model for IEEE 802.11 radios.
// Default values are roughly based on CC3220 transceiver. The power consumption is
// determined by the radio mode, the transmitter state and the receiver state
// using constant parameters.
//
simple Ieee80211StateBasedEpEnergyConsumer extends StateBasedEpEnergyConsumer
{
    parameters:
        offPowerConsumption = default(0mW);
        sleepPowerConsumption = default(0.05mW);
        switchingPowerConsumption = default(100mW);     // tx/rx calibration mode
        receiverIdlePowerConsumption = default(0.5W);
        receiverBusyPowerConsumption = default(0.5W);   // no info yet
        receiverReceivingPowerConsumption = default(1W);
        receiverReceivingPreamblePowerConsumption = default(receiverReceivingPowerConsumption);
        receiverReceivingHeaderPowerConsumption = default(receiverReceivingPowerConsumption);
        receiverReceivingDataPowerConsumption = default(receiverReceivingPowerConsumption);
        transmitterIdlePowerConsumption = default(1W);  // no info yet
        transmitterTransmittingPowerConsumption = default(2.5W);
        transmitterTransmittingPreamblePowerConsumption = default(transmitterTransmittingPowerConsumption);
        transmitterTransmittingHeaderPowerConsumption = default(transmitterTransmittingPowerConsumption);
        transmitterTransmittingDataPowerConsumption = default(transmitterTransmittingPowerConsumption);
}

File: src/inet/physicallayer/wireless/ieee80211/packetlevel/Ieee80211StateBasedEpEnergyConsumer.ned