Modeling And Control Of Power Flow In Electrical Energy Storage And Delivery Systems