A model for mixture formation in port injected SI engines