Day-Ahead Optimal Power Flow for Efficient Energy Management of Urban Microgrid