Go to the documentation of this file.00001
00008 #include <DSimEngine2/dsim_model.h>
00009
00010 #ifndef BATTERY
00011 #define BATTERY
00012
00014
00019 class battery : public dsim_model
00020 {
00021 public:
00023 battery(dsim_model_setup *setup);
00025 void initialization_complete();
00027 void initialize_data();
00029 void rhs(double t,double jd);
00031 void post_calculate();
00032
00033 protected:
00034
00035 dsim_variable power_dsim;
00036 dsim_variable charge_rate_dsim;
00037 dsim_variable battery_charge_dsim;
00038 dsim_variable max_charge_dsim;
00039 };
00040
00041 #endif