Gravar e-mail: Modeling of an intelligent battery controller for standalone solar-wind hybrid distributed generation system