On-line Production Control via Discrete Event Simulation: an Industrial Application