Simple Module SimpleEpEnergyManagement

Package: inet.power.management
File: src/inet/power/management/SimpleEpEnergyManagement.ned

C++ definition

This energy mangement model estimates the residual energy capacity of the energy source model by actually querying it. It is only useful when the estimation process is not important. This model initiates node shutdown when the residual capacity decreases below a threshold, and it also initiates node start when the residual capacity increases above another threshold.

See also: SimpleEpEnergyStorage

Author: Levente Meszaros

SimpleEpEnergyManagement

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

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

Parameters:

Name Type Default value Description
nodeShutdownCapacity double 0J/0

initiates node shutdown when the residual energy capacity decreases below this value

nodeStartCapacity double 0J/0

initiates node start when the residual energy capacity increases above this value

Properties:

Name Value Description
class SimpleEpEnergyManagement

Source code:

//
// This energy mangement model estimates the residual energy capacity of the
// energy source model by actually querying it. It is only useful when the
// estimation process is not important. This model initiates node shutdown
// when the residual capacity decreases below a threshold, and it also
// initiates node start when the residual capacity increases above another
// threshold.
//
// @see ~SimpleEpEnergyStorage
// @author Levente Meszaros
//
simple SimpleEpEnergyManagement like IEpEnergyManagement
{
    parameters:
        double nodeShutdownCapacity @unit(J) = default(0J/0); // initiates node shutdown when the residual energy capacity decreases below this value
        double nodeStartCapacity @unit(J) = default(0J/0); // initiates node start when the residual energy capacity increases above this value
        @class(SimpleEpEnergyManagement);
}