SensorStateBasedEpEnergyConsumer

Package: inet.physicallayer.wireless.common.energyconsumer

SensorStateBasedEpEnergyConsumer

simple module

(no description)

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.001mW
switchingPowerConsumption double 25mW
receiverIdlePowerConsumption double 0.005mW
receiverBusyPowerConsumption double 0.1mW
receiverReceivingPowerConsumption double 50mW
receiverReceivingPreamblePowerConsumption double receiverReceivingPowerConsumption
receiverReceivingHeaderPowerConsumption double receiverReceivingPowerConsumption
receiverReceivingDataPowerConsumption double receiverReceivingPowerConsumption
transmitterIdlePowerConsumption double 5mW
transmitterTransmittingPowerConsumption double 75mW
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

Direct method calls (observed)

call tofunctioninfo
IdealEpEnergyStorageinet::power::IdealEpEnergyStorage::addEnergyConsumeraddEnergyConsumer
IdealEpEnergyStorageinet::power::IdealEpEnergyStorage::receiveSignalpowerConsumptionChanged

Called methods (observed)

functioninfocall from
inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignalradioModeChangedApskScalarRadio, Ieee802154NarrowbandScalarRadio
inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignalreceivedSignalPartChangedApskScalarRadio, Ieee802154NarrowbandScalarRadio
inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignalreceptionStateChangedApskScalarRadio, Ieee802154NarrowbandScalarRadio
inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignaltransmissionStateChangedApskScalarRadio, Ieee802154NarrowbandScalarRadio
inet::physicallayer::StateBasedEpEnergyConsumer::receiveSignaltransmittedSignalPartChangedApskScalarRadio, Ieee802154NarrowbandScalarRadio

Source code

simple SensorStateBasedEpEnergyConsumer extends StateBasedEpEnergyConsumer
{
    parameters:
        offPowerConsumption = default(0mW);
        sleepPowerConsumption = default(0.001mW);
        switchingPowerConsumption = default(25mW);
        receiverIdlePowerConsumption = default(0.005mW);
        receiverBusyPowerConsumption = default(0.1mW);
        receiverReceivingPowerConsumption = default(50mW);
        transmitterIdlePowerConsumption = default(5mW);
        transmitterTransmittingPowerConsumption = default(75mW);
}

File: src/inet/physicallayer/wireless/common/energyconsumer/SensorStateBasedEpEnergyConsumer.ned