Models a battery. More...
#include <battery.h>
Public Member Functions | |
| battery (dsim_model_setup *setup) | |
| Constructor. | |
| void | initialization_complete () |
| Finish initalizing the model. | |
| void | initialize_data () |
| Initialize output. | |
| void | rhs (double t, double jd) |
| Computation done during numerical integration. | |
| void | post_calculate () |
| Compute the battery flux. | |
Protected Attributes | |
| dsim_variable | power_dsim |
| dsim_variable | charge_rate_dsim |
| dsim_variable | battery_charge_dsim |
| dsim_variable | max_charge_dsim |
Models a battery.
The battery connects to a power source via an outlet which provides charging or power draw.
Definition at line 19 of file battery.h.
1.7.2