Difference between revisions of "Energy model"

From Nsnam
Jump to: navigation, search
(References)
(Usage)
Line 52: Line 52:
  
 
= Usage =
 
= Usage =
 +
 +
Coming soon.
  
 
= Schedule =
 
= Schedule =
  
 
*4/19/2010 - 4/23/2010: Private review of radio energy model.
 
*4/19/2010 - 4/23/2010: Private review of radio energy model.

Revision as of 01:59, 21 April 2010

Background

Energy modeling is a key element in wireless network simulation. Energy consumption is an important benchmark for network protocols. Many intelligent protocols are energy aware and to simulate such protocols, a energy model is required. A energy model has been implemented in ns2 (ns2 energy model) but is yet to be implemented in ns3.

Project Goals

Network Security Lab, University of Washington, Seattle has begun work on an generic energy model for ns3. We hope to provide the basic structures for modeling energy sources and energy consumption of various devices on the node. To enable recording of energy consumption for individual (radio) devices and network protocols. The energy model will provide the following components:

  • Energy source model.
    • Battery.
    • etc.
  • Device energy model.
    • Radio.
    • etc.

Energy Model Hierarchy

Energy model information flow

The energy model consists of 2 major components:

  • Energy source.
  • Device energy model.

Only a single energy source will exist on a node, representing the total energy reserve at the node. Multiple device energy model can exist on a single node, representing different devices. The device energy model will update the remaining energy at the energy source. When energy is depleted, the energy source will notify all device energy models.

Energy Source

Energy source class structure

Child of the energy source class implements a specific type of energy source, eg. a battery. This base class provides interfaces for different energy model to update/record total energy consumption on the node. Some typical child classes:

  • Basic energy source.
    • Provides basic energy source functionalities such as keeping track of remaining energy, decrease remaining energy, notify device energy models for energy depletion.
  • Battery energy source.
    • Sub class that models behavior of a battery.

Device Energy Model

Device energy model

Child of the device energy model class implements energy consumption schemes of a specific device, eg. a radio device. This class provides interfaces for updating remaining energy in the energy source and handles notifications form the energy source when node energy is depleted. It can also records the total energy consumption of the device. Note that multiple device energy model can exist on the same node.

A typical child implementation of this class is the radio energy model class.

Radio Energy Model

This class represents energy model for radio devices. It is a base class for implementing other radio energy models. The radio energy model defines the typical operating states of a radio:

  • Idle
  • Tx
  • Rx
  • Sleep

Behaviors of switching between different modes are implemented by radio energy model's child class. Note that multiple radio energy model can exist on the same node.

Usage

Coming soon.

Schedule

  • 4/19/2010 - 4/23/2010: Private review of radio energy model.