Consensus-based Energy Management in Smart Grid with Transmission Losses and Directed Communication