SimpleEpEnergyManagement

Package: inet.power.management

SimpleEpEnergyManagement

simple module

C++ definition

This energy management 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.

<b>See also:</b> ~SimpleEpEnergyStorage

Inheritance diagram

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

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

nodeShutdownCapacity double nan J

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

nodeStartCapacity double nan J

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

Properties

Name Value Description
class SimpleEpEnergyManagement
display i=block/plug

Source code

//
// This energy management 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
//
simple SimpleEpEnergyManagement extends SimpleModule like IEpEnergyManagement
{
    parameters:
        @class(SimpleEpEnergyManagement);
        double nodeShutdownCapacity @unit(J) = default(nan J); // Initiates node shutdown when the residual energy capacity decreases below this value
        double nodeStartCapacity @unit(J) = default(nan J); // Initiates node start when the residual energy capacity increases above this value
        @class(SimpleEpEnergyManagement);
        @display("i=block/plug");
}

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