A Discrete-Event Network Simulator
API
generic-battery-model.h File Reference
#include "energy-source.h"
#include <ns3/event-id.h>
#include <ns3/nstime.h>
#include <ns3/traced-value.h>
+ Include dependency graph for generic-battery-model.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ns3::BatteryPresets
 The structure containing the the parameter values that describe a battery preset. More...
 
class  ns3::GenericBatteryModel
 A generic battery model for Li-Ion, NiCd, NiMh and Lead acid batteries. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

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...