CAPE/050/2000 On-line production control via discrete event simulation-an industrial application