Opensolar Battery Modeling Matlab Simulink