Modeling the effects of fast shocks on solar wind minor ions