Design of Battery Management System for Grid Energy Storage Based on FreeRTOS and RTDS Testing System | IEEE Journals & Magazine | IEEE Xplore