Generic Battery Model Simulink For Mechatronics