Optimal power flow methods and their application to distribution systems with energy storage : a survey of available tools and methods