Economic scheduling model of microgrid considering the lifetime of batteries. Issue 3 (1st February 2017)