Opensolar Battery Modeling Matlab File