Package: inet.power.management
SimpleEpEnergyManagement
simple moduleThis 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
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); }File: src/inet/power/management/SimpleEpEnergyManagement.ned