Capacity and queue modelling for on-ramp freeway junctions