Towards analysing cyber physical systems in 3D virtual environments