A simulation environment for distributed real-time control systems door