Simulate Battery Management Circuit