Simulation Of Battery Systems With Simulink