A generalized model for analyzing operational conditions at intersections in urban areas