Agent-based analysis of airline and railway command and control systems