The Within-City Equilibrium Model