Simulink Battery Charging Model