Opensolar Battery Modeling In Matlab