Agent-based supply chain management—2: a refinery application · Study