Title: System dynamics applied to a stock control problem in the textile industry