Validation of a balancing model based on master-slave battery management system architecture