Bug 2403

Summary: Enhancements patch for the LiIon and basic energy sources
Product: ns-3 Reporter: Hossam Khader <hossamkhader>
Component: energyAssignee: Cristiano Tapparello <cristiano.tapparello>
Status: PATCH PENDING ---    
Severity: enhancement CC: ns-bugs, tomh, tommaso.pecorella
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Enhancements patch

Description Hossam Khader 2016-05-05 22:16:08 EDT
Created attachment 2413 [details]
Enhancements patch

The proposed patch introduces the below enhancements to the LiIon and basic energy sources:

1) The Separation between the initial energy of the source, and the capacity of the source.
2) Preventing the energy source from being recharged above the energy capacity

3) Preventing the energy source from being consumed below the low battery threshold


Both the initial energy and the energy capacity can be specified in the simulation, and if one of them is not specified, it is assumed to be equal to the other one.

The default values for the energy capacity and the initial energy are zero.
Comment 1 Hossam Khader 2018-03-05 16:33:23 EST
Shall I work on updating this patch?