Optimization of Load Flows in Urban Hybrid Networks