The Communication Networks and Systems Lab at SICS is happy to announce version 0.9 of the Energy Framework.
The Energy Framework is a collection of modules that allows flexible and extensible modeling of battery consumption of wireless devices. It currently uses OMNET++-3 and mobility-fw2.0p3,but is intended to be relatively framework independent. Code is available at http://www.sics.se/nets/
The Energy Framework has some similarities to the Battery Module 2.0(http://www.inf.unisi.ch/phd/
- support for host failure due to battery depletion
- support for multiple sources and representations of energy consuming operations (e.g. radio, CPU, sensor)
- support for discrete energy consumption (for state transitions or other abstract operations)
- fairly extensive set of validation tests
One Battery model, two Battery Statistics modules and two network devices have already been implemented in the Energy Framework:
- SimpleBattery, a simple linear battery model that provides a common
interface to all battery-using devices
- BatteryStats for collecting and formatting statistics
- Nic80211Battery which extends the mobility-fw Nic80211 to draw power from the battery and shut down on host failure.
- For compatibility and show its flexibility, the Energy Framework also includes DeviceAF and BatteryStatsAF that operate like the Battery Module 2.0.
In addition, some simple “test” Devices have also been implemented.
These are also suitable as a basis for modeling e.g. simple sensors.
More details are in the documentation. Comments are welcome - it would be especially helpful to have assistance with building for Windows/Mac, as I have only tested Unix.
New battery and device models are most welcome, as is help porting to other frameworks.