#include <ProcBattery.hh>
Inherits DataProcessor.
This class represents a data processor which models a battery with a simple Peukert discharge model.
Inputs:
"current" : discharge current (V)"voltage" : terminal voltage (V) "current" : discharge current (A) "stateofcharge" : Remaining percentage of battery () "timeleft" : time left until complete discharge (s)
Public Member Functions | |
| ProcBatteryPeukert (const char *name, int index, battery_param_t *p) | |
| void | getParams (battery_param_t *p) |
| void | setParams (battery_param_t *p) |
| virtual void | update (void) |
|
|
This method can be used to retrieve configuration parameters used by the processor |
|
|
This method can be used to set configuration parameters used by the processor |