A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::BatteryPresets Struct Reference

The structure containing the the parameter values that describe a battery preset. More...

#include "generic-battery-model.h"

+ Collaboration diagram for ns3::BatteryPresets:

Public Attributes

GenericBatteryType batteryType
 The type of battery used in the preset.
 
double cuttoffVoltage
 The threshold voltage where the battery is considered depleted.
 
std::string description
 Additional information about the battery.
 
double internalResistance
 Internal resistance of the battery, in Ohms.
 
double qExp
 Capacity value at the end of the exponential zone, in Ah.
 
double qMax
 The maximum capacity of the battery, in Ah.
 
double qNom
 Battery capacity at the end of the nominal zone, in Ah.
 
double typicalCurrent
 Typical discharge current used to fit the curves.
 
double vExp
 Battery voltage at the end of the exponential zone, in Volts.
 
double vFull
 Initial voltage of the battery, in Volts.
 
double vNom
 Nominal voltage of the battery, in Volts.
 

Detailed Description

The structure containing the the parameter values that describe a battery preset.

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

Member Data Documentation

◆ batteryType

GenericBatteryType ns3::BatteryPresets::batteryType

The type of battery used in the preset.

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

◆ cuttoffVoltage

double ns3::BatteryPresets::cuttoffVoltage

The threshold voltage where the battery is considered depleted.

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

◆ description

std::string ns3::BatteryPresets::description

Additional information about the battery.

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

◆ internalResistance

double ns3::BatteryPresets::internalResistance

Internal resistance of the battery, in Ohms.

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

◆ qExp

double ns3::BatteryPresets::qExp

Capacity value at the end of the exponential zone, in Ah.

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

◆ qMax

double ns3::BatteryPresets::qMax

The maximum capacity of the battery, in Ah.

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

◆ qNom

double ns3::BatteryPresets::qNom

Battery capacity at the end of the nominal zone, in Ah.

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

◆ typicalCurrent

double ns3::BatteryPresets::typicalCurrent

Typical discharge current used to fit the curves.

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

◆ vExp

double ns3::BatteryPresets::vExp

Battery voltage at the end of the exponential zone, in Volts.

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

◆ vFull

double ns3::BatteryPresets::vFull

Initial voltage of the battery, in Volts.

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

◆ vNom

double ns3::BatteryPresets::vNom

Nominal voltage of the battery, in Volts.

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


The documentation for this struct was generated from the following file: