Opensolar Battery Modeling Opensolar