Discrete-Event Dynamic Systems Modelling Distributed Multi-Agent Control of Intermodal Container Terminals