There may be interactions among different container terminals within one port. One example is inter-terminal transportation (ITT). We have a model on this:
https://www.researchgate.net/publication/259187387_A_mathematical_model_of_inter-terminal_transportation/file/9c96052a43707de713.pdf?origin=publication_detail
I would be happy to learn about current practices dealing with ITT in different ports.
Article A mathematical model of inter-terminal transportation