A contribution to spare parts management based on a dynamic model for stock replenishment