A simulation model for transaction costs in purchasing