A Discrete-Event Network Simulator
API
Energy Models
+ Collaboration diagram for Energy Models:

Modules

 Energy module tests
 

Classes

class  ns3::BasicEnergyHarvester
 BasicEnergyHarvester increases remaining energy stored in an associated Energy Source. More...
 
class  ns3::BasicEnergyHarvesterHelper
 Creates a BasicEnergyHarvester object. More...
 
class  ns3::BasicEnergySource
 BasicEnergySource decreases/increases remaining energy stored in itself in linearly. More...
 
class  ns3::BasicEnergySourceHelper
 Creates a BasicEnergySource object. More...
 
class  BatteryLifetimeTest
 This example was originally devised as a test, then it was converted to an example. More...
 
struct  ns3::BatteryPresets
 The structure containing the the parameter values that describe a battery preset. More...
 
class  ns3::DeviceEnergyModel
 Base class for device energy models. More...
 
class  ns3::DeviceEnergyModelContainer
 Holds a vector of ns3::DeviceEnergyModel pointers. More...
 
class  ns3::DeviceEnergyModelHelper
 Creates DeviceEnergyModel objects. More...
 
class  ns3::EnergyHarvester
 Energy harvester base class. More...
 
class  ns3::EnergyHarvesterContainer
 Holds a vector of ns3::EnergyHarvester pointers. More...
 
class  ns3::EnergyHarvesterHelper
 Creates EnergyHarvester objects. More...
 
class  ns3::EnergySourceContainer
 Holds a vector of ns3::EnergySource pointers. More...
 
class  ns3::EnergySourceHelper
 Creates EnergySource objects. More...
 
class  ns3::GenericBatteryModel
 A generic battery model for Li-Ion, NiCd, NiMh and Lead acid batteries. More...
 
class  ns3::GenericBatteryModelHelper
 Creates and assign an assortment of BatteryModels to Nodes. More...
 
class  ns3::LiIonEnergySource
 Model a generic Lithium Ion Battery basing on [1][2]. More...
 
class  ns3::LiIonEnergySourceHelper
 Creates a LiIonEnergySource object. More...
 
class  ns3::LinearWifiTxCurrentModel
 a linear model of the Wifi transmit current More...
 
class  ns3::RvBatteryModel
 Rakhmatov Vrudhula non-linear battery model. More...
 
class  ns3::RvBatteryModelHelper
 Creates a RvBatteryModel object. More...
 
class  ns3::SimpleDeviceEnergyModel
 A simple device energy model where current drain can be set by the user. More...
 
class  ns3::WifiRadioEnergyModel
 A WiFi radio energy model. More...
 
class  ns3::WifiRadioEnergyModelHelper
 Assign WifiRadioEnergyModel to wifi devices. More...
 
class  ns3::WifiRadioEnergyModelPhyListener
 A WifiPhy listener class for notifying the WifiRadioEnergyModel of Wifi radio state change. More...
 
class  ns3::WifiTxCurrentModel
 Model the transmit current as a function of the transmit power and mode. More...
 

Enumerations

enum  ns3::BatteryModel {
  ns3::PANASONIC_HHR650D_NIMH = 0 , ns3::CSB_GP1272_LEADACID = 1 , ns3::PANASONIC_CGR18650DA_LION = 2 , ns3::RSPRO_LGP12100_LEADACID = 3 ,
  ns3::PANASONIC_N700AAC_NICD = 4
}
 Battery models that described the parameters of the the battery presets. More...
 
enum  ns3::GenericBatteryType { ns3::LION_LIPO = 0 , ns3::NIMH_NICD = 1 , ns3::LEADACID = 2 }
 Battery types. More...
 

Variables

static BatteryPresets ns3::g_batteryPreset []
 Contains the values that form the battery presents available in this module. More...
 

Detailed Description

Enumeration Type Documentation

◆ BatteryModel

Battery models that described the parameters of the the battery presets.

Enumerator
PANASONIC_HHR650D_NIMH 

Panasonic HHR650D NiMh battery.

CSB_GP1272_LEADACID 

CSB GP1272 Lead acid battery.

PANASONIC_CGR18650DA_LION 

Panasonic CGR18650DA Li-Ion battery.

RSPRO_LGP12100_LEADACID 

RS Pro LGP12100 Lead acid battery.

PANASONIC_N700AAC_NICD 

Panasonic N700AAC NiCd battery.

Definition at line 54 of file generic-battery-model.h.

◆ GenericBatteryType

Battery types.

These are grouped according to their chemical characteristics present during a charge/discharge curve.

Enumerator
LION_LIPO 

Lithium-ion and Lithium-polymer batteries.

NIMH_NICD 

Nickel-metal hydride and Nickel cadmium batteries.

LEADACID 

Lead Acid Batteries.

Definition at line 42 of file generic-battery-model.h.

Variable Documentation

◆ g_batteryPreset

BatteryPresets ns3::g_batteryPreset[]
static

Contains the values that form the battery presents available in this module.

Definition at line 89 of file generic-battery-model.h.

Referenced by ns3::GenericBatteryModelHelper::Install().